rgel / Exchange

Microsoft Exchange coding

Home Page:https://ps1code.com/category/powershell/exchange/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exchange_Narrow_Blue_PowerShell$${\color{blue}Exchange \space PowerShell \space Repo}$$

$${\color{green}MODULES}$$

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-EXCH folder into one of your module directories

  • The default PowerShell module paths are listed in the $env:PSModulePath environment 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 LaunchEMS in the console
  • If you have no EMS, please install Exchange Management Tools
  • Optionally, connect to your On-Prem Exchange server by Connect-ExchangeServer -Auto cmdlet
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

About

Microsoft Exchange coding

https://ps1code.com/category/powershell/exchange/

License:MIT License


Languages

Language:PowerShell 100.0%