fixing old migration issues

This commit is contained in:
Trudy Hakala
2016-06-16 10:41:36 -07:00
parent be502f8b53
commit 11659e45fb
3 changed files with 24 additions and 24 deletions

View File

@ -40,10 +40,10 @@ 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. 4. Connect to Microsoft Exchange Online and set some properties for the account in Office 365.
Start a remote PowerShell session on a PC and connect to Microsoft Exchange. Be sure you have the right permissions set to run the associated cmdlets. Start a remote PowerShell session on a PC and connect to Microsoft Exchange. Be sure you have the right permissions set to run the associated cmdlets.
@ -51,9 +51,9 @@ Use this procedure if you use Exchange on-prem.
```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
``` ```
@ -70,7 +70,7 @@ Use this procedure if you use Exchange on-prem.
Once you have a compatible policy, then you will need to apply the policy to the device account. Once you have a compatible policy, then you will need to apply the policy to the device account.
```ps1 ```ps1
Set-CASMailbox 'HUB01@contoso.com' -ActiveSyncMailboxPolicy $easPolicy Set-CASMailbox 'HUB01@contoso.com' -ActiveSyncMailboxPolicy $easPolicy
``` ```
6. Set Exchange properties. 6. Set Exchange properties.
@ -78,8 +78,8 @@ Use this procedure if you use Exchange on-prem.
Setting Exchange properties on the device account to improve the meeting experience. You can see which properties need to be set in the [Exchange properties](exchange-properties-for-surface-hub-device-accounts.md) section. Setting Exchange properties on the device account to improve the meeting experience. You can see which properties need to be set in the [Exchange properties](exchange-properties-for-surface-hub-device-accounts.md) section.
```ps1 ```ps1
Set-CalendarProcessing -Identity 'HUB01@contoso.com' -AutomateProcessing AutoAccept -AddOrganizerToSubject $false AllowConflicts $false DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false Set-CalendarProcessing -Identity 'HUB01@contoso.com' -AutomateProcessing AutoAccept -AddOrganizerToSubject $false AllowConflicts $false DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
Set-CalendarProcessing -Identity 'HUB01@contoso.com' -AddAdditionalResponse $true -AdditionalResponse 'This is a Surface Hub room!' Set-CalendarProcessing -Identity 'HUB01@contoso.com' -AddAdditionalResponse $true -AdditionalResponse 'This is a Surface Hub room!'
``` ```
7. Connect to Azure AD. 7. Connect to Azure AD.
@ -99,9 +99,9 @@ Use this procedure if you use Exchange on-prem.
Once you list out the SKUs, you can add a license using the `Set-MsolUserLicense` cmdlet. In this case, `$strLicense` is the SKU code that you see (for example, *contoso:STANDARDPACK*). Once you list out the SKUs, you can add a license using the `Set-MsolUserLicense` cmdlet. In this case, `$strLicense` is the SKU code that you see (for example, *contoso:STANDARDPACK*).
```ps1 ```ps1
Set-MsolUser -UserPrincipalName 'HUB01@contoso.com' -UsageLocation 'US' Set-MsolUser -UserPrincipalName 'HUB01@contoso.com' -UsageLocation 'US'
Get-MsolAccountSku Get-MsolAccountSku
Set-MsolUserLicense -UserPrincipalName 'HUB01@contoso.com' -AddLicenses $strLicense Set-MsolUserLicense -UserPrincipalName 'HUB01@contoso.com' -AddLicenses $strLicense
``` ```
9. Enable the device account with Skype for Business. 9. Enable the device account with Skype for Business.
@ -127,7 +127,7 @@ Use this procedure if you use Exchange on-prem.
```ps1 ```ps1
Enable-CsMeetingRoom -Identity $rm -RegistrarPool Enable-CsMeetingRoom -Identity $rm -RegistrarPool
'sippoolbl20a04.infra.lync.com' -SipAddressType EmailAddress 'sippoolbl20a04.infra.lync.com&' -SipAddressType EmailAddress
``` ```
If you aren't sure what value to use for the `RegistrarPool` parameter in your environment, you can get the value from an existing Skype for Business user using this cmdlet: If you aren't sure what value to use for the `RegistrarPool` parameter in your environment, you can get the value from an existing Skype for Business user using this cmdlet:
@ -164,7 +164,7 @@ Use this procedure if you use Exchange online.
```ps1 ```ps1
Set-ExecutionPolicy Unrestricted Set-ExecutionPolicy Unrestricted
$org='contoso.microsoft.com $org='contoso.microsoft.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
@ -177,13 +177,13 @@ Use this procedure if you use Exchange online.
If you're changing an existing resource mailbox: If you're changing an existing resource mailbox:
```ps1 ```ps1
Set-Mailbox -Identity &#39;HUB01&#39; -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force) Set-Mailbox -Identity 'HUB01' -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
``` ```
If youre creating a new resource mailbox: If youre creating a new resource mailbox:
```ps1 ```ps1
New-Mailbox -MicrosoftOnlineServicesID &#39;HUB01@contoso.com&#39; -Alias HUB01 -Name "Hub-01" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force) New-Mailbox -MicrosoftOnlineServicesID 'HUB01@contoso.com' -Alias HUB01 -Name "Hub-01" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
``` ```
3. Create Exchange ActiveSync policy. 3. Create Exchange ActiveSync policy.
@ -202,9 +202,9 @@ Use this procedure if you use Exchange online.
```ps1 ```ps1
Set-Mailbox $acctUpn -Type Regular Set-Mailbox $acctUpn -Type Regular
Set-CASMailbox &#39;HUB01@contoso.com&#39; -ActiveSyncMailboxPolicy $easPolicy Set-CASMailbox 'HUB01@contoso.com' -ActiveSyncMailboxPolicy $easPolicy
Set-Mailbox &#39;HUB01@contoso.com&#39; -Type Room Set-Mailbox 'HUB01@contoso.com' -Type Room
Set-Mailbox &#39;HUB01@contoso.com&#39; -RoomMailboxPassword $credNewAccount.Password -EnableRoomMailboxAccount $true Set-Mailbox 'HUB01@contoso.com' -RoomMailboxPassword $credNewAccount.Password -EnableRoomMailboxAccount $true
``` ```
4. Set Exchange properties. 4. Set Exchange properties.
@ -212,8 +212,8 @@ Use this procedure if you use Exchange online.
Various Exchange properties must be set on the device account to improve the meeting experience. You can see which properties need to be set in the [Exchange properties](exchange-properties-for-surface-hub-device-accounts.md) section. Various Exchange properties must be set on the device account to improve the meeting experience. You can see which properties need to be set in the [Exchange properties](exchange-properties-for-surface-hub-device-accounts.md) section.
```ps1 ```ps1
Set-CalendarProcessing -Identity &#39;HUB01@contoso.com&#39; -AutomateProcessing AutoAccept -AddOrganizerToSubject $false AllowConflicts $false DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false Set-CalendarProcessing -Identity 'HUB01@contoso.com' -AutomateProcessing AutoAccept -AddOrganizerToSubject $false AllowConflicts $false DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
Set-CalendarProcessing -Identity &#39;HUB01@contoso.com&#39; -AddAdditionalResponse $true -AdditionalResponse "This is a Surface Hub room!" Set-CalendarProcessing -Identity 'HUB01@contoso.com' -AddAdditionalResponse $true -AdditionalResponse "This is a Surface Hub room!"
``` ```
5. Add email address for your on-prem domain account. 5. Add email address for your on-prem domain account.
@ -256,9 +256,9 @@ Use this procedure if you use Exchange online.
Once you list out the SKUs, you can add a license using the `Set-MsolUserLicense` cmdlet. In this case, `$strLicense` is the SKU code that you see (for example, *contoso:STANDARDPACK*). Once you list out the SKUs, you can add a license using the `Set-MsolUserLicense` cmdlet. In this case, `$strLicense` is the SKU code that you see (for example, *contoso:STANDARDPACK*).
```ps1 ```ps1
Set-MsolUser -UserPrincipalName &#39;HUB01@contoso.com&#39; -UsageLocation &#39;US&#39; Set-MsolUser -UserPrincipalName 'HUB01@contoso.com' -UsageLocation 'US'
Get-MsolAccountSku Get-MsolAccountSku
Set-MsolUserLicense -UserPrincipalName &#39;HUB01@contoso.com&#39; -AddLicenses $strLicense Set-MsolUserLicense -UserPrincipalName 'HUB01@contoso.com' -AddLicenses $strLicense
``` ```
9. Enable the device account with Skype for Business. 9. Enable the device account with Skype for Business.

View File

@ -25,7 +25,7 @@ If you have a single-forest on-premises deployment with Microsoft Exchange 2013
```PowerShell ```PowerShell
Set-ExecutionPolicy Unrestricted Set-ExecutionPolicy Unrestricted
$org=&#39;contoso.microsoft.com&#39; $org='contoso.microsoft.com'
$cred=Get-Credential $admin@$org $cred=Get-Credential $admin@$org
$sessExchange = New-PSSession -ConfigurationName microsoft.exchange -Credential $cred -AllowRedirection -Authentication Kerberos -ConnectionUri "http://$strExchangeServer/powershell" -WarningAction SilentlyContinue $sessExchange = New-PSSession -ConfigurationName microsoft.exchange -Credential $cred -AllowRedirection -Authentication Kerberos -ConnectionUri "http://$strExchangeServer/powershell" -WarningAction SilentlyContinue
$sessLync = New-PSSession -Credential $cred -ConnectionURI "https://$strLyncFQDN/OcsPowershell" -AllowRedirection -WarningAction SilentlyContinue $sessLync = New-PSSession -Credential $cred -ConnectionURI "https://$strLyncFQDN/OcsPowershell" -AllowRedirection -WarningAction SilentlyContinue
@ -38,7 +38,7 @@ If you have a single-forest on-premises deployment with Microsoft Exchange 2013
If you're changing an existing resource mailbox: If you're changing an existing resource mailbox:
```PowerShell ```PowerShell
Set-Mailbox -Identity &#39;HUB01&#39; -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force) Set-Mailbox -Identity 'HUB01' -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
``` ```
If youre creating a new resource mailbox: If youre creating a new resource mailbox:

View File

@ -23,7 +23,7 @@ If you have a pure, online (O365) deployment, then you can [use the provided Pow
```PowerShell ```PowerShell
Set-ExecutionPolicy Unrestricted Set-ExecutionPolicy Unrestricted
$org=&#39;contoso.microsoft.com&#39; $org='contoso.microsoft.com'
$cred=Get-Credential $admin@$org $cred=Get-Credential $admin@$org
$sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection $sess= New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $sess Import-PSSession $sess
@ -34,7 +34,7 @@ If you have a pure, online (O365) deployment, then you can [use the provided Pow
If you're changing an existing resource mailbox: If you're changing an existing resource mailbox:
```PowerShell ```PowerShell
Set-Mailbox -Identity &#39;HUB01&#39; -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force) Set-Mailbox -Identity 'HUB01' -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
``` ```
If youre creating a new resource mailbox: If youre creating a new resource mailbox: