在 Windows Server 数据中心找不到 WebAdministration powershell 模块 [英] WebAdministration powershell module not found on windows server data center

查看:61
本文介绍了在 Windows Server 数据中心找不到 WebAdministration powershell 模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Windows Server 2008 Datacenter 中,我找不到 PowerShell webadministration 模块.我试过 Get-PSSnapinGet-Module -ListAvailable,都没有显示 webadministration

In Windows Server 2008 Datacenter, I could not find the PowerShell webadministration module. I tried Get-PSSnapin and Get-Module -ListAvailable, neither of which showed webadministration

而且我在%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules目录下没有看到webadministration模块!!

And I don't see the webadministration module under the directory %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules !!

我需要安装或启用某些东西才能在 Datacenter 上使用 webadministration 吗?

Do I need to install or enable something to have webadministration on Datacenter ?

推荐答案

您需要安装 Web 服务器角色 (IIS).WebAdministration 是一个模块.所以,使用 Get-Module -ListAvailable

You need to have web server role (IIS) installed. WebAdministration is a module. So, use Get-Module -ListAvailable

此外,这些 cmdlet 似乎仅适用于 Windows Server 2008 R2 或 IIS 7.5.因此,如果您在 Windows Server 2008 上安装了 IIS7.5,则这些 cmdlet 将可用.

Also, looks like these cmdlets are available only on Windows Server 2008 R2 or with IIS 7.5. So, if you have IIS7.5 on Windows Server 2008, these cmdlets will be available.

这篇关于在 Windows Server 数据中心找不到 WebAdministration powershell 模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆