Category: Exchange Server

Connect to exchange online

Install exchange online management Install-Module -Name ExchangeOnlineManagement——————————————-Import-Module ExchangeOnlineManagementSet-ExecutionPolicy RemoteSigned$UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection ////////////////////////////////////////////////////////////////////////////Import-PSSession $Session -DisableNameChecking More Details: Connect to exchange online powershell with MFA Set-ExecutionPolicy RemoteSigned$UserCredential = Get-CredentialImport-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagementUpdate-Module -Name ExchangeOnlineManagement Connect-ExchangeOnline -UserPrincipalName -DelegatedOrganization Start Archive Folder ——————————————Get-Mailbox

Read More
After a failed move request, the mailbox is still marked is being moved and cannot be removed again

The onboarding move could not be created because user ‎is already being moved For this case have to check move request in exchange on-prem if there are moving mailbox. if yes we need to remove all move request and resume migration. Remove Move requestRemove-MoveRequest -Identity Get Move request status Get-MoveRequest | fl Status, Protect,

Read More
Enable circular logging Exchange 2016

We don’t recommend to enable circular logging in Exchange 2016. An excellent back-up system will truncate the database logs. What if the back-up didn’t work, and you need a solution before the disk size is getting full? This article will teach you how to enable circular logging with PowerShell and in Exchange Admin Center. Should

Read More