none
Exchange Management Shell and PowerShell RRS feed

  • Frage

  • Hi,

    i am trying to access Exchange Konfiguration via Powershell-Scripts. But some comandlets are only available in the ExchangeManagementShell. How can i use this in Powershell? Can i add the Modules (i can not find them via Get-Module –ListAvailable ) ? Or is there a possibility to acces the EMC out of a powershell-script?

    thanks joni

    Donnerstag, 13. Juni 2013 08:56

Antworten

  • You must load the exchange modules in your normal powershell session.

    The required ones can you see when you use the follwing command:

    Get-PSSnapin -registered

    The output looks similar:

    Microsoft.Exchange.Management.PowerShell.E2010

    Microsoft.Exchange.Management.PowerShell.Setup

    Microsoft.Exchange.Management.Powershell.Support

    You can load them with the add-pssnapin command.

    Regards

    Jörg


    Donnerstag, 13. Juni 2013 09:26