This script helps administrators and support desk personnel to connect an Exchange Server 2013+ using remote PowerShell. You can either connect to a dedicated Exchange Server or connect to a randomly selected Exchange Server.
You can implement the function in your own scripts to connect to Exchange remotely. David Lee has written an excellent post about how to use saved credentials with PowerShell scripts.
# EXAMPLE# Connect to the specified server EX01./Connect-ToExchange.ps1 -Server EX01# EXAMPLE# Connect to a randomly selected server./Connect-ToExchange.ps1
- 1.0, Initial community release
- Download and follow at Github: https://github.com/Apoc70/Connect-ToExchange
- Download and like at TechNet Gallery: https://gallery.technet.microsoft.com/Connect-to-Exchange-Server-0fefe0e4
- Using saved credentials securely in PowerShell scripts, https://blog.kloud.com.au/2016/04/21/using-saved-credentials-securely-in-powershell-scripts/