문제

I need to write a PowerCLI script that gets an argument with a name of a virtual machine, and returns the VM's host name. The catch is, I shouldn't connect to the VC.

thanks for all your help (:

P.S: do any of you guys know how to connect the PowerCLI to the active directory? That'll help me in other scripts I need to make.

Thank you! (:

올바른 솔루션이 없습니다

다른 팁

This is not possible.

You would either need to authenticate with vCenter or with the ESXi host.

It is not possible to pull VM information without authentication as this would be quite a large security risk.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top