Connect-VIServer [[-Server]
Connect-VIServer -Menu [
connect-viserver -server 192.168.163.135 -user root -password Admin900
connect-viserver -server 192.168.163.135
PS C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI>get-vm
Name PowerState Num CPUs MemoryGB
---- ---------- -------- --------
win2003-ERP PoweredOn 2 1.500
centos-1 PoweredOff 1 1.000
centos-SMB PoweredOn 2 1.000
nas PoweredOff 2 0.391
win2008-DC PoweredOn 1 1.000
CactiEZ10 PoweredOff 1 0.535
freenas1 PoweredOn 1 1.000
panabit PoweredOn 1 0.500
nas