Note
Exchange Management Shell is a preferred method for connecting to Exchange servers
But it is not required, a remote PSSession is good enough
-
To install this module, drop the entire
Power-EXCHfolder into one of your module directories -
The default PowerShell module paths are listed in the
$env:PSModulePathenvironment variable -
To make it look better, split the paths in this manner:
$env:PSModulePath -split ';' -
The default per-user module path is:
"$env:HOMEDRIVE$env:HOMEPATH\Documents\WindowsPowerShell\Modules" -
The default computer-level module path is:
"$env:windir\System32\WindowsPowerShell\v1.0\Modules" -
To use the module, type following command:
Import-Module Power-EXCH -Force -Verbose -
To see the commands imported, type
Get-Command -Module Power-EXCH -
For help on each individual cmdlet or function, run
Get-Help CmdletName -Full [-Online][-Examples]
Tip
To start using the module functions:
- Open EMS console. To open EMS on Core Server, type
LaunchEMSin the console - If you have no EMS, please install Exchange Management Tools
- Optionally, connect to your On-Prem Exchange server by
Connect-ExchangeServer -Autocmdlet
| No | Function | Description |
|---|---|---|
| 1 | Set-PExMaintenanceMode | Put an Exchange Server in Maintenance Mode |
| 2 | Exit-PExMaintenanceMode | Take an Exchange Server out of Maintenance Mode |
| 3 | Get-PExMaintenanceMode | Verify Exchange Servers Maintenance Mode status |
| 4 | Get-PExServer | Filter Exchange Servers by Release Year |
| 5 | Get-PExMailbox | Retrieve mailboxes in Hybrid organization |
| 6 | Get-PExMailboxUsage | New!Get Exchange mailbox size |
| 7 | ConvertFrom-PExExchangeSize | Convert a string, representing a Size, returned by EMS cmdlets |
| 8 | New-PercentageBar | Create colored and adjustable Percentage Bar |
| 9 | Get-PExRecipientType | New!Get Recipient type |
