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 […]
Exchange
Get folders and sizes for all mailboxes using Exchange Shell
![Get folders and sizes for all mailboxes using Exchange Shell 2 A graphic with a blue background featuring an icon of a document with a command prompt symbol, alongside text that reads "Get folders and sizes for all mailboxes using Exchange Shell.](https://techygeekshome.info/wp-content/uploads/2018/09/powershell-720x340.png)
We recently had a request to provide to our Project Management team, a full list of all Exchange mailboxes with all folders within each mailbox and also the total sizes of each folder for each mailbox. This came as a bit of a shock to us and we still have no idea why they wanted […]
Exchange Shell – Get all Shared Mailboxes Information
![Exchange Shell - Get all Shared Mailboxes Information 3 Exchange 2013](https://techygeekshome.info/wp-content/uploads/2016/01/Exchange-2013.png)
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 […]
Exchange Shell – Export all shared mailbox permissions to CSV
![Exchange Shell - Export all shared mailbox permissions to CSV 4 Exchange 2013 1](https://techygeekshome.info/wp-content/uploads/2016/01/Exchange-2013-1.png)
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 […]
Exchange Shell – Get all shared mailboxes with primary SMTP
![Exchange Shell - Get all shared mailboxes with primary SMTP 5 Exchange 2013 1](https://techygeekshome.info/wp-content/uploads/2016/01/Exchange-2013-1.png)
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 […]
SCCM – Report on PST File Locations
![SCCM - Report on PST File Locations 6 microsoft black logo](https://techygeekshome.info/wp-content/uploads/2017/05/microsoft.png)
Users love to keep their email for as long as they possibly can, but when IT Admins start telling them to archive their email because their mailbox is too big, sometimes things get worse and PST files end up being created all over your corporate Filestores. Even worse than that, users will create their PST […]
SCCM – Create a device collection based on Exchange Server role
![SCCM - Create a device collection based on Exchange Server role 7 sccm logo](https://techygeekshome.info/wp-content/uploads/2016/02/sccm.jpg)
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 […]
Send-As Exchange Universal Distribution Group
![Send-As Exchange Universal Distribution Group 8 Exchange 2013](https://techygeekshome.info/wp-content/uploads/2016/01/Exchange-2013.png)
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 […]
Exchange – Hide Contacts from Address Book
![Exchange - Hide Contacts from Address Book 9 5d05eb33135798a962e3199db1fa4a4c](https://techygeekshome.info/wp-content/uploads/2016/01/5d05eb33135798a962e3199db1fa4a4c.jpg)
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 […]
Exchange 2007 – Create Multiple Mailboxes using Powershell
![Exchange 2007 - Create Multiple Mailboxes using Powershell 10 Exchange 2013 1](https://techygeekshome.info/wp-content/uploads/2016/01/Exchange-2013-1.png)
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 […]
Exchange – Get Dynamic Distribution Group Individual Members Email Addresses
![Exchange - Get Dynamic Distribution Group Individual Members Email Addresses 11 5d05eb33135798a962e3199db1fa4a4c](https://techygeekshome.info/wp-content/uploads/2016/01/5d05eb33135798a962e3199db1fa4a4c.jpg)
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” […]
Exchange – Export Contacts to PST using Powershell
![Exchange - Export Contacts to PST using Powershell 12 Exchange 2013 1](https://techygeekshome.info/wp-content/uploads/2016/01/Exchange-2013-1.png)
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 […]