Windows Web Server 2008 R2中不包含Powershell Servermanager模块
这让我疯狂! 显然使用servermanager模块应该像input一样简单: Import-Module servermanager 问题是我没有它。 PS C:\Users\Administrator> Get-Module -ListAvailable Directory: C:\Windows\system32\WindowsPowerShell\v1.0\Modules ModuleType Name ExportedCommands ———- —- —————- Manifest BitsTransfer {Add-BitsFile, Remove-BitsTransfer, Complete-BitsTransfe… Manifest CimCmdlets {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstanc… Script ISE {New-IseSnippet, Import-IseSnippet, Get-IseSnippet} Manifest Microsoft.PowerShell.Diagnostics {Get-WinEvent, Get-Counter, Import-Counter, Export-Count… Manifest Microsoft.PowerShell.Host {Start-Transcript, Stop-Transcript} Manifest Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-ItemProperty, Join-Pa… Manifest Microsoft.PowerShell.Security {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential…} Manifest […]