Exchange Shell – All Permissions on all Mailboxes

We carried out a project recently which was to migrate around 150 mailboxes to the Office 365 (Exchange Online) platform. Part of scope of works that was required was to provide the team leaders within the business a list of all the mailboxes and what permissions they had on them. This was mostly a housekeeping exercise due to years of …

Exchange Shell – All Permissions on all Mailboxes Read More

Exchange Shell – Get all Shared Mailboxes Information

Following on from our previous post about how IT professionals can use the tools available to them to make their lives easier, we have another Exchange Management Shell (EMS) script which will get all the information available from all Shared Mailboxes including the sizes of each mailbox. Guide Open up the Exchange Management Script tool and enter this command: Get-mailbox …

Exchange Shell – Get all Shared Mailboxes Information Read More

Exchange Shell – Export all shared mailbox permissions to CSV

Sometimes as IT professionals, we get asked to supply a lot of data to company bosses. This can be extremely frustrating especially when what you want to do is fix stuff, but IT is becoming more and more like an admin role all the time. It doesn’t mean you stop fixing stuff, it just means you have to carry out …

Exchange Shell – Export all shared mailbox permissions to CSV Read More

Exchange Shell – Get all shared mailboxes with primary SMTP

We recently received a request to provide a project manager with a full list of all shared mailboxes with their primary SMTP addresses that were in Microsoft Exchange. To do this is a pretty straight forward task using Exchange Management Shell (EMS). Just go ahead and open your EMS and run the following command: This will go through your Exchange …

Exchange Shell – Get all shared mailboxes with primary SMTP Read More

SCCM – Create a device collection based on Exchange Server role

Following on from our recent posts for Configuration Manager collection queries, we have another one here for all devices that are Microsoft Exchange servers. Go ahead and create a new device collection and then use this query: select * from SMS_R_System inner join SMS_G_System_SERVICE on SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SERVICE.Name like “Microsoft Exchange%” Save the query and you should now …

SCCM – Create a device collection based on Exchange Server role Read More

Send-As Exchange Universal Distribution Group

INTRODUCTION If you want to allow a user to ‘Send-as’ a Universal Distribution Group, you cannot do this by right clicking the Distribution Group in Exchange and managing send-as permissions as you would with a shared mailbox or user mailbox. GUIDE However, the following will allow you to carry this task using Active Directory instead of from within Exchange: Open …

Send-As Exchange Universal Distribution Group Read More

Exchange – Hide Contacts from Address Book

If you have mail contacts in your Exchange environment then you may want to hide them from your global address book if you are using them as forwarders. To do this, open up Exchange Management Shell (EMS) and run the following command: Get-MailContact -OrganizationalUnit “ADOU” | Set-MailContact -hiddenfromaddresslistsenabled $true where: “ADOU” = Organisational Unit $true = set all contacts to …

Exchange – Hide Contacts from Address Book Read More

Exchange 2007 – Create Multiple Mailboxes using Powershell

We were recently setting up a test lab with an old version of Exchange 2007 to replicate a customers environment and we had created the required 250 users in Active Directory using some scripts but we also had to then create the mailboxes for these accounts. Not wanting to sit there manually creating all these mailboxes, we used a quick …

Exchange 2007 – Create Multiple Mailboxes using Powershell Read More

Exchange – Get Dynamic Distribution Group Individual Members Email Addresses

If you are using Exchange in our organisation and have dynamic distribution groups, you may want to get all the information about the individual users within these distribution groups and also list their email addresses. To do this, open up an Exchange Management Shell console and run the following script: $group = Get-DynamicDistributionGroup –identity “yourDL” Get-Recipient –RecipientPreviewFilter $group.RecipientFilter | select …

Exchange – Get Dynamic Distribution Group Individual Members Email Addresses Read More

Exchange – Export Contacts to PST using Powershell

If you want to export a users set of contacts from Exchange directly into a PST file using Powershell, then you can run this command using Exchange Management Shell (EMS): export-mailbox -id User1 -includefolders ‘contacts’ -pstfolderpath C:User1.pst Where: User1 = the mailbox that you want to export from C:User1.pst = the PST filename where you want to export to COMMENTS If …

Exchange – Export Contacts to PST using Powershell Read More