Copy members from one Distribution Group to another Distribution Group in PowerShell

As an Exchange and Active Directory administrator you may be asked at some point to make a new distribution group from one or more other distribution groups. Exchange 2010 and PowerShell make this a very easy task. So to get started log in to your exchange server and open your Exchange Management Console.     Now we need to create the […]

Read more

Converting User mailbox to Shared or Room mailbox

Open Exchange Management Shell Enter the following command: get-mailbox -identity <username or display name> | set-mailbox -type shared Afer the process completes, the mailbox will show as a share box.     Example:                   ***To convert shared to a user mailbox enter the following command:   Enter the following command: get-mailbox -identity […]

Read more

Unable to Migrate O365 user back to Exchange On-Prem – ERROR: Cannot find a recipient that has mailbox GUID

When you try to migrate an O365 mailbox back to Exchange on-premise, you may run into this error message.                 Below is the solution for it.     SOLUTION Set the ExchangeGUID property on the associated on-premises remote mailbox before you move the mailbox to the on-premises organization. To do this, follow these […]

Read more

Delete specific email from O365 mailboxes

1.  Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection Import-PSSession $s Type in your Domain Admin credentials with username of <username>@domain.com Type in your Domain Admin credentials with username of domain\<username>   Run this command: you will need the distribution […]

Read more

Delete a Calendar item from a mailbox

If you have the need to remove a specific calendar event/appointment from a mailbox, you can do it through Power Shell or Exchange Management Shell. Open PowerShell or EMS If this is an O365 mailbox, you will need to connect to the O365 environment Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential […]

Read more

Setting Distribution Group Delivery Restrictions via PowerShell

Adjusting the delivery restrictions on distribution groups is quite a common task. The more members a group has the more of a problem this ends up being in big organisations. Setting the permissions in the Exchange Management Console (EMC) is simple enough when you have one or two people/groups to add to the allowed list. When you have many user/groups […]

Read more

Can’t remove additional Exchange mailboxes

I’ve added some additional Exchange mailboxes to my account but now I can’t seem to remove them anymore in Outlook as they don’t show up in my account settings or the additional mailboxes list. Right clicking on a mailbox and choosing “Close <mailbox>” produces the error: “This group of folders is associated with an e-mail account. To remove the account, […]

Read more

Quick Tip: Restarting all Microsoft Exchange services

There are times when you need to restart all Exchange related services so here are 2 small scripts that will help you achieve this without going over each service in the Services mmc. Of course restarting the “Microsoft Exchange Active Directory Topology” will restart a most of them but these 2 will restart them all.   Restarting All Running Services […]

Read more

Migrate new user to O365

Pre-Migration Work Create the AD user account and Exchange on-prem mailbox Confirm UPN suffix of user account matches the email address Go to O365 admin console and add the user license Migrate users Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential  $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection  […]

Read more
1 2 3 4 5