Hi,
I am trying to generate a report from PowerShell. To do this, I need to create a TraversalSpec object. When I downloaded the TraversalSpecs via: $vrops.ExtensionData.GetTraversalSpecs().TraversalSpec, I can see custom groups but how do I specify the actual group I want.
Name : Custom Groups
Description : Enables view of custom groups and resources under them
RootAdapterKindKey : ?
RootResourceKindKey : ?
Any :
AdapterInstanceAssociation : False
AnyAttr :
Here's what I have so far:
$vrops = Connect-OMServer vrops.mcis.washington.edu -user user1 -password xxxxx$report = $vrops.ExtensionData.GetReportDefinitions($null, $null, "_test_Datastores").ReportDefinition
$vrops.ExtensionData.GetTraversalSpecs().TraversalSpec
thanks in advance,
Moderator: Rather than sitting in a generic {code} area I suspect this thread would be better placed in this vROps area: https://communities.vmware.com/t5/vRealize-Operations-Manager/bd-p/13003
But then you are better placed to understand the technology and what you’re trying to do.
Should I move the thread or leave it here?
Please move it. I apologize for the misplacement.
thanks,
-fc
Not sure it is a misplacement, but the right sorts of eyes are more likely to see it in the vROps area.
Moderator: Moved to vROps Discussions
Hi,
This link should help you out:
https://ryanjan.uk/2018/05/16/running-vrops-reports-using-powercli/