Previously we showed you how to use the useful cmdlets available with the PowerCLI vRealize Operations Manager (vR Ops) module, but as we also explained there are only a few cmdlets at the moment and anyone who knows vR Ops will know that there is a lot more functionality than is provided by those cmdlets.
But don’t worry, it is possible to access the entire vR Ops REST API! PowerCLI gives us the ability to expand the capability of the module to perform many more tasks that aren’t available via the included cmdlets.
In this blog post, which is a continuation of my previous blog posts on the PowerCLI vR Ops module, I will explain how to access the entire vR Ops public REST API via PowerCLI. Before I begin, it will be helpful to cover some basic information about the vR Ops REST API.
The API is available via the base URI of and if you browse to this link the documentation is available. For the most part, the API is pretty well documented with examples for usage including payloads for XML and JSON. Below is a screenshot of the XML request body example for the performAction method.