Exchange Online PowerShell

You can use the below cmdlets to Connect to the 21V Hosted Office365 Environment.

Open PowerShell in Elevated Mode and run the following commands,

Set-ExecutionPolicy -ExecutionPolicy unrestricted 
$UserCredential = Get-Credential 
21V
21V
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/PowerShell -Credential $UserCredential -Authentication Basic -AllowRedirection 
21V
Import-PSSession $Session -DisableNameChecking 
21V

You can see how it is connected. You can run the Cmdlets for Exchange Online and validate.

#21Vianet #exchangeOnline #Office365

Author

Leave a comment

Your email address will not be published. Required fields are marked *