none
I have 2008 SP2 getting below error

    Question

  • DismPS C:\Users\administrator.CORP> Import-Module ServerManager
    Import-Module : The specified module 'ServerManager' was not loaded because no valid module file was
    e directory.
    At line:1 char:14
    + Import-Module <<<<  ServerManager
        + CategoryInfo          : ResourceUnavailable: (ServerManager:String) [Import-Module], FileNotFo
        + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleComma

    ----------------------------------------------------------------------------------------------------------------------------

    Other info:

    PS C:\Users\administrator.CORP> get-host


    Name             : ConsoleHost
    Version          : 2.0
    InstanceId       : e18abf00-be3e-4a28-a3dc-76d8a3a4bd0d
    UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
    CurrentCulture   : en-US
    CurrentUICulture : en-US
    PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
    IsRunspacePushed : False
    Runspace         : System.Management.Automation.Runspaces.LocalRunspace

    ___________

    Any help would be GREATLY appreciated.

     


    AliahMurfy
    Tuesday, January 25, 2011 7:08 AM

Answers

  • Hi,

     

    The Server Manager module is only available on Windows Server 2008 R2. It’s the new supplement in Windows Server 2008 R2. It is expected that the command doesn’t work on Windows Server 2008.

     

    Best Regards

    Dale


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Aliah Murfy Thursday, January 27, 2011 9:47 AM
    Wednesday, January 26, 2011 4:08 AM

All replies

  • Is it a 64 bit machine? If so, are you using the 64 bit instance of PowerShell?
    Shay Levy [MVP]
    PowerShay.com
    PowerShell Toolbar
    Tuesday, January 25, 2011 1:29 PM
  • Hi,

     

    The Server Manager module is only available on Windows Server 2008 R2. It’s the new supplement in Windows Server 2008 R2. It is expected that the command doesn’t work on Windows Server 2008.

     

    Best Regards

    Dale


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Aliah Murfy Thursday, January 27, 2011 9:47 AM
    Wednesday, January 26, 2011 4:08 AM
  • Hi People,

    Import-Module ServerManager command only works in Server 2008 R2 platform.

    Regards

    Showkat Mir

    • Proposed as answer by Showkat Mir Saturday, March 10, 2012 7:12 AM
    Saturday, March 10, 2012 7:12 AM