Skip to main content

HelloID

PowerShell scripts in Provisioning

Provisioning supports PowerShell in various scripts.

PowerShell version

PowerShell scripts on both PowerShell v2 source systems and target systems are executed by the Provisioning Agent.

PowerShell modules

If a script requires a PowerShell module, it must be executed via the On-premises Provisioning Agent service. No PowerShell modules are pre-installed.

If a PowerShell v2 target system connector requires a specific PowerShell module to be installed, this is noted in the README file of the respective connector on GitHub.

Importing PowerShell modules when using the Cloud Provisioning Agent is not supported.

The Cloud Provisioning Agent includes the Exchange Online (ExO) Management module, version 3.5.1, with the following limited set of cmdlets, including one custom cmdlet.

Cmdlet

Description

Connect-ManagedExchangeOnline

Connect to exchange online (custom cmdlet)

Get-EXOMailbox

Retrieve mailbox

New-Mailbox

Create mailbox

Set-Mailbox

Update mailbox

These cmdlets are used by Tools4ever's Exchange Online (Office 365) target system connector.

For the official documentation of the ExO module, see Exchange Online Module 3.5.1.