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.
Best Answer
To run Server Manager on Windows 7 you need to download and install the Remote Server Management toolkit from MS
Info link: http://technet.microsoft.com/en-us/library/dd759202.aspx
Download link: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7887
UPDATE: new OP info
The problem is that Windows 7 is not a server OS and Server Manager is not designed to manage or monitor non-server OSes. You can install Server Manager on a Windows 7 computer, but only for the purpose of managing other server systems. While there may be a hack to get it to work in the way you want, I'm not aware of what that hack may be.
So I guess the next question is: Why?
If you're just trying to see what you can do with Power Shell: This fix will probably take more than just PS to hack together.
IF you're trying to actually manage a Windows 7 computer in a server role: The answer's probably the same as above: If you can hack it, great. Otherwise, sorry.