Start a Conversation

Solved!

Go to Solution

2516

September 14th, 2020 04:00

How to check if a VMware VM folder exists using a Networker CLI command?

Suppose that the Networker has established the connection to a vCenter and the vProxy has been deployed. Is there a way of using a Networker CLI command to check if a VM folder exists in the vCenter? A user inputs a string as the folder name. As the vSphere VM folder name is case sensitive, it is better to ensure the name is correct and the corresponding folder exists before proceeding. I know I could install vSphere PowerCLI on the Networker server to create a simple PowerCLI script to check directly against the vCenter. But if possible, I’d rather avoid installing another piece of software on the Networker server. Does anyone have experience of using the NSR hypervisor resource? Is there a way to form a query with NSR hypervisor resource to check a folder? Any help would be appreciated.

No Responses!
No Events found!

Top