PowervRACloud is a PowerShell module that abstracts the VMware vRealize Automation Cloud APIs to a set of easily used PowerShell functions. This tool provides a comprehensive command-line environment for managing your VMware vRealize Automation Cloud environment
This module is not supported by VMware and comes with no warranties expressed or implied. Please test and validate its functionality before using this product in a production environment.
Pre-requisitesYou need to have the following pre-requisites
- vRealize Automation Cloud API Token
- PowerShellVersion = '6.0'
Module InstallationUnzip the downloaded file. It includes 3 files
To install it, download it to a PowerShell enabled machine and navigate to the folder and execute the following command
You can view PowervRACloudDocumentation.html which has instructions for every command but here's a quick example on how to get started
Connection to the vRA Cloud Platform
The API of vRA Cloud requires you to login to the Cloud Platform VM first
Use Read-Host Command and enter your API Token as Secure String
$APIToken = Read-Host -AsSecureString
Execute the Connect-vRA-Cloud command and pass the API Token as Input Parameter
Connect-vRA-Cloud -APIToken $APIToken
After logging in and starting a session, you can start doing information calls to vRA Cloud
Get-vRA-CloudAccounts | Format-Table