Module question

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of ertuu85 ertuu85 1 year, 1 month ago.

  • Author
  • #29820
    Profile photo of ertuu85

    Hello, I'm sure this will be a simple question and really display my ignorance but are the below modules defaults in 2008 R2?

    I'm mostly concerned with 'servermanager' module.

    PS C:\Users\xxxxxxxxx\Desktop> Get-Module -list

    ModuleType Name ExportedCommands
    ———- —- —————-
    Manifest ActiveDirectory {}
    Manifest ADRMS {}
    Manifest AppLocker {}
    Manifest BestPractices {}
    Manifest BitsTransfer {}
    Manifest PSDiagnostics {}
    Manifest ServerManager {}
    Manifest TroubleshootingPack {}

  • #29822
    Profile photo of Rob Simmers
    Rob Simmers

    The ServerManager module is included on all Windows 2008 servers, but you will have to ensure that you import the module prior to utilizing it:

    Import-Module ServerManager

    In 2012, the module is automatically loaded in Powershell, so there is no need to import it.

  • #29824
    Profile photo of ertuu85

    Ok I thought so but just wanted to make sure before I started adding import-module lines into some code, thanks Rob!

You must be logged in to reply to this topic.