Server Parameter (Connect-Exchange Cmdlet)
The address of the Exchange server to which you are connecting.
Syntax
Connect-Exchange -Server string
Data Type
cstr
Default Value
""
Remarks
Set to the Exchange Web Services URL. For Exchange Online, set it to https://outlook.office365.com/EWS/Exchange.asmx. For Exchange On-Premises, set it to https://<mail-server>/EWS/Exchange.asmx.