我在虚拟机上运行Windows 10,我想通过在PowerShell上运行以下命令列出可用的窗口function:
Import-Module ServerManager Get-WindowsFeature
已经运行第一个命令产生:特定模块“servermanager”未加载,因为在任何模块目录中找不到有效的模块文件。
我已经尝试使用Windows Server 2008 Powershell Servermanager模块的解决scheme,但没有包含在Windows Web Server 2008 R2中,但对我无效,即在C:\ Windows \ System32 \ WindowsPowerShell \ v1.0 \模块。 但是,我无法find如何在Windows 10中的64位或32位Powershell之间切换。任何帮助? 谢谢
您需要下载并安装“用于Windows 10的远程服务器pipe理工具”。 下载链接是https://www.microsoft.com/en-au/download/details.aspx?id=45520
您可以使用x86标签来识别您正在启动的PS版本。 见下图: