The quick version: Set-ExecutionPolicy RemoteSigned $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session New-Mailbox -Name "John Contoso" -RemovedMailbox "John Contoso" -MicrosoftOnlineServicesID [email protected] -Password (ConvertTo-SecureString -String 'NewPassword' -AsPlainText -Force) The long version: From time to time mistakes happen and, at least with Microsoft technology, there are ways of recovering data that has been deleted. Now, usually with Office 365 it's a simple case of...
Read More
Recent Comments