VMware Cloud Community
JesseBoehm36
Contributor
Contributor

vROPs PowerCLI Error - Get-OMResource

We are getting an error running Get-OMResource against vROPs 6.5. VMware Support states they don't support Scripting/API

Error: Get-OMResource Requested value 'NOTEXISTIING" was not found.

Image attached. Seems to bomb out after pulling 4 Resources.

I am simply running: Get-OMResource from PowerCLI. I get the same error connected to vCenter and vROPs and run Get-VM | Get-OMResource

Any suggestions?

Thank Jesse2017-07-06_12-00-23.png

0 Kudos
2 Replies
daphnissov
Immortal
Immortal

Run the cmdlet in verbose mode using the "-verbose" parameter. Does it show you where it fails? It looks like you might have an invalid object in your inventory somewhere. Do the self-monitoring dashboards for vROps report system issues?

0 Kudos
aevrov
VMware Employee
VMware Employee

Hi Jesse,

This issue should be fixed in our current beta build. Here's how to get it: READ FIRST! PowerCLI Beta

Alternatively, you can wait several weeks for the official release.

Regards,

Angel

0 Kudos