Category: Office 365
-
Office 365 – Day to Day Migration Commands
Connect to Remote Powershell $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session Create a new move request (with an existing remote powershell open) $OPCred = Get-Credential ### use CORP\user.name.1 New-MoveRequest -Remote -RemoteHostName mrs.onpremdomain.com -RemoteCredential $OPCred -TargetDeliveryDomain tenant.onmicrosoft.comĀ -SuspendWhenReadyToComplete -Identity [email protected] -BadItemLimit 5 -WhatIf IF this proceeds, re-run…