Is ServerManager module available on Windows 7?

Posted by ruslan on Server Fault See other posts from Server Fault or by ruslan
Published on 2012-02-16T22:14:01Z Indexed on 2012/07/02 15:18 UTC
Read the original article Hit count: 439

Filed under:
|

Is ServerManager module available on Windows 7 Ultimate ?

I think (but I'm not sure because I never looked at output before) the PS script that I have worked before but after some problems with IIS7 installation it stopped working.

Following script

import-module servermanager

fails with error

Import-Module : The specified module 'servermanager' was not loaded because no valid module file was found in any module directory.
At line:1 char:14
+ import-module <<<<  servermanager
    + CategoryInfo          : ResourceUnavailable: (servermanager:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

I found recommendation to run

Dism.exe /Online /Enable-Feature /FeatureName:ServerManager-PSH-Cmdlets

on my machine but it also fails with error Feature name ServerManager-PSH-Cmdlets is unknown.

© Server Fault or respective owner

Related posts about windows-7

Related posts about powershell