CSM 10.5 Documentation

Home

Configure PowerShell for Exchange Orchestration Pack

The below procedure is the second step in configuring the Exchange Orchestration Pack. PowerShell version 3 or later is required for the mApp Solution functionality to work. Executing the Exchange runbooks requires the following PowerShell cmdlets.

These cmdlets are only available in on-premises Exchange Server 2016.
  • Enable-MailUser cmdlet: This command mail-enables existing users by adding the email attributes that are required by Exchange. Mail users have email addresses and accounts in the Exchange organization, but they don't have Exchange mailboxes. Email messages sent to mail users are delivered to the specified external email address. 
  • Disable-MailUser cmdlet: This command mail-disables existing mail users by removing the email attributes that are required by Exchange. Mail users have email addresses and accounts in the Exchange organization, but they don't have Exchange mailboxes. Disabling a mail user removes the ability of Exchange to deliver messages to the specified external mail address.

To install the cmdlets, the Microsoft Remote Server Administration Tools must be installed. Download links for Windows desktop operating systems are provided below. For Windows Server follow the instructions in the next section.

To install the Active Directory PowerShell cmdlets on Windows Server:

If the required PowerShell cmdlet library is not installed, the first time a runbook runs a dialog opens containing links to Microsoft to download the applicable PowerShell library.
  1. Open the Server Manager.
  2. Click Add roles and features.

    The Add Roles and Features Wizard opens.

  3. Click Next until the Features option is highlighted in the left pane.
  4. In the features window, go to Remote Server Administration Tools > Roles Administration Tools > AD DS and AD LDS Tools.
  5. Select the Active Directory module for Windows PowerShell checkbox.

    ADOP: Powershell Add Roles and Features

  6. Select Next.

    Confirmation is highlighted in the left pane.

  7. Click Install.
  8. Select OK.


Was this article useful?