Doing REST API calls via Powershell is straight forward using the Invoke-RestMethod cmdlet. Using the examples from inkysea’s blogpost, I’ll be showing how to do this calls to vRA using Powershell. To start off, we need to define the header and the body payload After which, we define the URI/ vRA URL to pass the REST payload We then invoke the Invoke-RestMethod cmdlet ConvertTo-Json was done in $bo
Over the weekend, I reinstalled my home lab to vsphere 5.5. Wanting to automate as much as possible in managing my VM’s – I’ve decided to use vcenter orchestrator. Currently, automation are controlled via PowerShell scripts (more on this on a separate post). The problem with this is manageability/ portability. I wanted to make it more “universal”. Being completely clueless, decided to pl