$Cred = Get-Credential When Prompted enter the following: User: <enter> Password: <enter> $Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred –Authentication Basic –AllowRedirection Import-PSSession $Session –allowclobber $remotecred = Get-Credential New-MoveRequest -Remote -RemoteHostName ‘autodiscover.ics.net’ -RemoteCredential
Continue Reading