安装vSphere PowerCLI过程中提示如下:

The PowerShell execution policy of this computer is not set to "RemoteSigned".This prevents execution of PowerShell scripts on your computer and will result in errors when VMware vSphere PowerCLI is invoked.It is recommended that you set the execution policy to "RemoteSigned" in order to be able to execute scripts.This can be done by invoking the command 'Set-ExecutionPolicy  RemoteSigned' from a PowerShell prompt.

vSphere PowerCLI安装使用_第1张图片

修改PowerShell设置

vSphere PowerCLI安装使用_第2张图片运行vSphere PowerCLI

wKioL1ZVaEXxaVOMAAALAC0AkNk259.jpg

vSphere PowerCLI安装使用_第3张图片可以开始使用命令管理vSphere了。