diff --git a/devices/surface-hub/hybrid-deployment-surface-hub-device-accounts.md b/devices/surface-hub/hybrid-deployment-surface-hub-device-accounts.md index 577614e82d..5a5b929a2f 100644 --- a/devices/surface-hub/hybrid-deployment-surface-hub-device-accounts.md +++ b/devices/surface-hub/hybrid-deployment-surface-hub-device-accounts.md @@ -35,9 +35,9 @@ Use this procedure if you use Exchange on-prem. Open your on-prem Exchange Management Shell with administrator permissions, and run this cmdlet. - ```ps1 - Enable-Mailbox 'HUB01@contoso.com' -RemoteRoutingAddress 'HUB01@contoso.com' -Room - ``` + ```ps1 + Enable-Mailbox 'HUB01@contoso.com' -RemoteRoutingAddress 'HUB01@contoso.com' -Room + ``` 5. Connect to Microsoft Exchange Online and set some properties for the account in Office 365. @@ -45,13 +45,13 @@ Use this procedure if you use Exchange on-prem. The next steps will be run on your Office 365 tenant. - ```ps1 - Set-ExecutionPolicy Unrestricted - $org='contoso.com' - $cred=Get-Credential $admin@$org - $sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https://outlook.office365.com/ps1-liveid/' -Credential $cred -Authentication Basic -AllowRedirection - Import-PSSession $sess - ``` + ```ps1 + Set-ExecutionPolicy Unrestricted + $org='contoso.com' + $cred=Get-Credential $admin@$org + $sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https://outlook.office365.com/ps1-liveid/' -Credential $cred -Authentication Basic -AllowRedirection + Import-PSSession $sess + ``` 5. Create a new Exchange ActiveSync policy, or use a compatible existing policy.