Sign Up for the Quarterly Newsletter

Power vRA Cloud

This is an Open Source fling. Find out about VMware Open Source initiative on https://www.vmware.com/opensource.html

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.

This is an Open Source fling. Find out about VMware Open Source initiative on https://www.vmware.com/opensource.html

You need to have the following pre-requisties

  1. vRealize Automation Cloud API Token
  2. PowerShellVersion = '6.0'
This is an Open Source fling. Find out about VMware Open Source initiative on https://www.vmware.com/opensource.html

Pre-requisities

You need to have the following pre-requisties

  1. vRealize Automation Cloud API Token
  2. PowerShellVersion = '6.0'

Module Installation

Unzip the downloaded file. It includes 3 files

  1. PowervRACloud.psd1
  2. PowervRACloud.psm1
  3. PowervRACloudDocumentation.html

To install it, download it to a PowerShell enabled machine and navigate to the folder and execute following command

Import-Module .\PowervRACloud.psd1

Usage

You can view PowervRACloudDocumentation.html which has instructions for every command but here's a quick example on how to get started

Get-vRACloudCommands

Connection to the vRA Cloud Platform

The API of vRA Cloud requires you to login to the Cloud Platform VM first

Step1

Use Read-Host Command and enter your API Token as Secure String

$APIToken = Read-Host -AsSecureString

Step2

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

This is an Open Source fling. Find out about VMware Open Source initiative on https://www.vmware.com/opensource.html

Version 1.3

  • 4 x New Cmdlets for VMC
  • 5 x New Cmdlets for AWS
  • Powershell 7 on Windows Support
  • Bugfixes

Version 1.2

  • Support for vRealize Automation 8.1
  • New cmdlets
  • Connect-vRA-Server
  • New-vRA-Server-CloudAccount-VMC
  • New-vRA-Server-CloudAccount-vSphere

Version 1.1

  • Bug fixes and following new cmdlets
  • Add-vRA-Project-Administrator
  • Add-vRA-Project-Member
  • Get-vRA-DeploymentFilters
  • Get-vRA-DeploymentFilterTypes
  • Get-vRA-FabricNetworksFilter
  • Get-vRA-FabricImagesFilter
  • Remove-vRA-Project-Administrator
  • Remove-vRA-Project-Member
  • Update-vRA-Project-ZoneConfig