Download presentation
Presentation is loading. Please wait.
Published byMabel Booth Modified over 9 years ago
1
To the Cloud, from the Trenches: Best Practices for Migrating to Microsoft Office 365 Jorge R. Diaz Microsoft MVP | Exchange Server Architect Planet Technologies OSP325
7
demo Office 365 Deployment Readiness Tool
18
Update users UPN Import-Module ActiveDirectory Get-ADUser -Filter * -SearchBase ‘DC=domain,DC=local’ | ForEach-Object { $CompleteUPN = $_.SamAccountName + "@domain.com" Set-ADUser -Identity $_.DistinguishedName -UserPrincipalName $CompleteUPN }
19
Bulk User Activation $powerUser = "administrator@domain.com" $powerPass = "XXXX" $password = ConvertTo-SecureString $powerPass -AsPlainText -Force $adminCredential = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $powerUser,$password Connect-MSOLService -Credential $adminCredential $AccountSkuId = "sku:ENTERPRISEPACK" $UsageLocation = "US" $LicenseOptions = New-MsolLicenseOptions -AccountSkuId $AccountSkuId $Users = Import-Csv c:\Users.csv $Users | ForEach-Object { Set-MsolUser -UserPrincipalName $_.UserPrincipalName -UsageLocation $UsageLocation Set-MsolUserLicense -UserPrincipalName $_.UserPrincipalName -AddLicenses $AccountSkuId - LicenseOptions $LicenseOptions }
20
Batch Move Request $powerUser = "administrator@domain.com" $powerPass = "Password" $password = ConvertTo-SecureString $powerPass -AsPlainText -Force $Cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $powerUser,$password $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic -AllowRedirection Import-PSSession $Session $powerUser = "domain\administrator" $powerPass = "Password" $password = ConvertTo-SecureString $powerPass -AsPlainText -Force $Cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $powerUser,$password $Users = Import-Csv c:\Scripts\Users.csv $Users | ForEach-Object { new-MoveRequest -identity $_.UserPrincipalName -Remote -RemoteHostName 'mail.domain.com' -RemoteCredential $cred -TargetDeliveryDomain 'service.domain.com' -BadItemLimit 10 -LargeItemLimit 20 } Remove-PSSession $Session
21
Get Migration Statistics $cred=Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic -AllowRedirection Import-PSSession $Session ##Quick Summary of all move requests to provide % complete Get-MoveRequest | Get-MoveRequestStatistics ##Detailed Summary of a single user as they migrate Get-MoveRequest –identity user@domain.com | fl
22
Configure Auto-Booking $powerUser = "administrator@domain.com" $powerPass = "Password" $password = ConvertTo-SecureString $powerPass -AsPlainText -Force $Cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $powerUser,$password $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic -AllowRedirection Import-PSSession $Session $Users = get-mailbox -resultsize unlimited $Users | ForEach-Object { get-mailbox -resultsize Unlimited | where{$_.ResourceType -eq “Room”} | Set-CalendarProcessing - AutomateProcessing AutoAccept get-mailbox -resultsize Unlimited | where{$_.ResourceType -eq “Equipment”} | Set- CalendarProcessing -AutomateProcessing AutoAccept } Remove-PSSession $Session
26
Connect. Share. Discuss. http://northamerica.msteched.com Learning Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn
28
Required Slide Complete an evaluation on CommNet and enter to win!
29
Scan the Tag to evaluate this session now on myTechEd Mobile
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.