我试图安装最新的 VMWare PowerCLI,但出现错误: Install-Module : The term 'Install-Module' is not known as the name of a cmdlet, function...
一些挖掘表明我没有安装 PowershellGet,并且所有文档/下载要么说“开箱即用”,要么运行 install-module 来安装 PowershellGet,因为没有适用于 Windows 10 的下载。
我在 C:\Program Files\WindowsPowerShell\Modules 中没有 PowershellGet 文件夹,但我有 PackageManagement。
在哪里可以找到 PowershellGet 的下载?
Windows 10 version 1709
$PSVersionTable
Name Value
---- -----
PSVersion 5.1.16299.248
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.248
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1