VMware Cloud Community
Belker
Contributor
Contributor

How to use Server.getConfigurationElementCategoryWithPath in PowerShell

I have a script that uses Server.getConfigurationElementCategoryWithPath to obtain my Configuration Elements in vRA 8.x and it works great but I have it in javascript. I need to have another working copy of this in PowerShell but I don't know how to call\use it in PowerShell. If I set it to a variable like I do in javascript I get an error CommandNotFoundException basically PowerShell doesn't know what it is. Which I get since it's not a PowerShell object.

Any help on how I might do this is appreciated.

 

Thanks!

0 Kudos
1 Reply
Belker
Contributor
Contributor

0 Kudos