[PowerCLI]命令行管理ESXi-1.连接断开ESXi
作者:互联网
1. 连接ESXi服务器
Connect-VIServer -Server <IPAddress> -Protocol <https> -User <root> -Password <pass>
PS /root> Connect-VIServer -Server 10.1.1.1
Specify Credential
Please specify server credential
User: root
Password for user root: **********
Name Port User
---- ---- ----
10.1.1.1 443 root
2. 断开ESXi主机
Disconnect-VIServer -Server <IPAddress> -Force -Confirm:$False
PS /root> Disconnect-VIServer -Server 10.1.1.1 -Force -Confirm:$False
END
标签:10.1,断开,ESXi,Server,PowerCLI,VIServer,root,1.1 来源: https://www.cnblogs.com/leoshi/p/15136301.html