第一次執行VMware PowerCLI時出現以下error:

PS C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1
cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing"
for more details.

解決方法: 鍵入以下command (必須以系統管理員身分執行)

Set-ExecutionPolicy RemoteSigned

文章標籤
全站熱搜
創作者介紹
創作者 tech101 的頭像
tech101

TECH101

tech101 發表在 痞客邦 留言(0) 人氣(0)