安装工具VMware vSphere PowerCLI连接exsi控制虚拟机开关机

 

安装工具VMware vSphere PowerCLI连接exsi控制虚拟机开关机

安装工具VMware vSphere PowerCLI连接exsi控制虚拟机开关机

Connect-VIServer [[-Server] ] [-Port ] [-Protocol ] [-Credential] [-User ] [-Password ] [-Session ] [-NotDefault] [-SaveCredentials] []

Connect-VIServer -Menu []

connect-viserver -server 192.168.163.135 -user root -password Admin900

安装工具VMware vSphere PowerCLI连接exsi控制虚拟机开关机

connect-viserver -server 192.168.163.135

安装工具VMware vSphere PowerCLI连接exsi控制虚拟机开关机 

 

 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

安装工具VMware vSphere PowerCLI连接exsi控制虚拟机开关机