WebAdministration powershell module not found on windows server data center

前端 未结 3 1417
轮回少年
轮回少年 2021-01-04 10:44

In Windows Server 2008 Datacenter, I could not find the PowerShell webadministration module. I tried Get-PSSnapin and Get-Module -ListAvailab

3条回答
  •  花落未央
    2021-01-04 11:09

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

    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.

提交回复
热议问题