Windows 10 PowerCL 使用 VMwme-PowerCLI安装说明
connect-viserver 192.168.31.13 –user ‘a(chǎn)dministrator@vsphere.local’ –password ‘159917@Gmail2017’
PowerCLI常用命令列表:
??? 1、Connect-VIServer? – 連接虛擬化平臺
??? 2、get-vmhost? – 顯示ESXi主機(jī)列表
??? 3、get-cluster? – 顯示群集列表
??? 4、get-datastore? – 顯示存儲列表
??? 5、get-resourcepool? – 顯示資源池
??? 6、get-vm? – 顯示虛擬機(jī)列表
??? 7、get-virtualswitch? – 顯示虛擬交換機(jī)列表
??? 8、start-vm\stop-vm – 啟動(dòng)或關(guān)閉虛擬機(jī)
??? 9、new-vm – 創(chuàng)建虛擬機(jī)
??? 10、get-template – 顯示模板列表
??? 11、get-oscustomizationspec – 顯示自定義規(guī)范列表
??? 12、get-vapp – 顯示vapp應(yīng)用列表
??? 13、get-folder – 顯示文件夾列表
??? 14、get-vicommand – 顯示所有命令列表
??? 15、get-helo–幫助信息
?
狀態(tài)確實(shí)為Restricted
get-executionpolicy
更改Restricted屬性(按y)
set-executionpolicy remotesigned
關(guān)閉PowerCLI重啟測試登錄
connect-viserver 192.168.31.13 –user ‘a(chǎn)dministrator@vsphere.local’ –password ‘159917@Gmail2017’
總結(jié)
以上是生活随笔為你收集整理的Windows 10 PowerCL 使用 VMwme-PowerCLI安装说明的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: VMware vCenter Conve
- 下一篇: red hat linux FTP配置