Sunday, 30 June 2013

PowerShell: ServerManager Module

When i try to execute powershell cmdlet 'Add-WindowsFeature', i encounter the following error:

Cmdlet 'Add-WindowsFeature' is package in 'ServerManager' module which must be imported first before the cmdlet can be used.

So, you need to import the module first:

PS C:\> Import-Module ServerManager

No comments :

Post a Comment