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 https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection ////////////////////////////////////////////////////////////////////////////Import-PSSession $Session -DisableNameChecking More Details: https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-protection-powershell?view=exchange-ps Connect to exchange online powershell with MFA Set-ExecutionPolicy RemoteSigned$UserCredential = Get-CredentialImport-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagementUpdate-Module -Name ExchangeOnlineManagement Connect-ExchangeOnline -UserPrincipalName sin@pheaktra.com -DelegatedOrganization vmotion363.onmicrosoft.com Connect to Exchange Online PowerShell

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 ann.oung@sbilhbank.com.kh 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