Fixed code syntax

This commit is contained in:
LizRoss
2016-04-21 08:04:26 -07:00
parent 2b59e41c7f
commit d3e8cc65c3

View File

@ -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. Open your on-prem Exchange Management Shell with administrator permissions, and run this cmdlet.
```ps1 ```ps1
Enable-Mailbox 'HUB01@contoso.com' -RemoteRoutingAddress 'HUB01@contoso.com' -Room 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. 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. The next steps will be run on your Office 365 tenant.
```ps1 ```ps1
Set-ExecutionPolicy Unrestricted Set-ExecutionPolicy Unrestricted
$org='contoso.com' $org='contoso.com'
$cred=Get-Credential $admin@$org $cred=Get-Credential $admin@$org
$sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https://outlook.office365.com/ps1-liveid/' -Credential $cred -Authentication Basic -AllowRedirection $sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https://outlook.office365.com/ps1-liveid/' -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $sess Import-PSSession $sess
``` ```
5. Create a new Exchange ActiveSync policy, or use a compatible existing policy. 5. Create a new Exchange ActiveSync policy, or use a compatible existing policy.