I have 2008 SP2 getting below error

Answered I have 2008 SP2 getting below error

  • Tuesday, January 25, 2011 7:08 AM
     
     

    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

All Replies

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

    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
    •  
  • Saturday, March 10, 2012 7:12 AM
     
     Proposed

    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
    •