Exchange

Connect To Exchange On-Premises

The most common ways are to connect remotley to the Exchange server and then start the Exchange Management Shell or to use the Import-PSSession cmdlet to use Exchange PoSH commands on your local computer:

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://SERVER.contoso.com/PowerShell/ -Authentication Kerberos -Credential $UserCredential

Import-PSSession $Session
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License