[EXO][PS] Identify if user is part of a big AD Group

Quickly check if a user or subset of users are part of a ad group that has more than 5000 members.


[EXO][PS] Find all the Distribution Groups a user is a member of.

   Quickly find out all the Distribution Groups a user is a member of with a few lines of simple PS code. 


[EXO] Setting up Room Finder in a Hybrid Environment

Summary: This article documents the what’s, why’s and the how’s of setting up Room Finder and Workspaces in a hybrid Office 365 Exchange Environment. The on-premise environment uses ADC with no write-back enabled. Buildings, Cities, Types, and Filters (Capacity, Floors, Features) A room list is a distribution group. A room list is a collection of room mailboxes.   →

[EXO] Various ways to grab all SMTP address from mailbox


[EXO] Identifying Validation Errors

$errors = (Get-MsolContact –ObjectID <Object_ID>).Errors $errors | foreach-object {“nService: ” + $_.ErrorDetail.Name.split(“/”)[0]; “Error Message: “+ $_.ErrorDetail.ObjectErrors.ErrorRecord.ErrorDescription} $errors = (Get-MsolGroup –ObjectID <Object_ID>).Errors $errors | foreach-object {“nService: ” + $_.ErrorDetail.Name.split(“/”)[0]; “Error Message: “+ $_.ErrorDetail.ObjectErrors.ErrorRecord.ErrorDescription} $errors = (Get-MsolUser -UserPrincipalName “<User_ID>”).Errors $errors | foreach-object {“`nService: ” + $_.ErrorDetail.Name.split(“/”)[0]; “Error Message: ” + $_.ErrorDetail.ObjectErrors.ErrorRecord.ErrorDescription} Get-MsolUser -HasErrorsOnly -All | ft DisplayName,UserPrincipalName,@{Name=”Error”;Expression={($_.errors[0].ErrorDetail.objecterrors.errorrecord.ErrorDescription)}}   →

[EXO][EX2010] Removing dual mailboxes

Ensure you have a user mailbox backup prior to starting the following process as there is potential risk of data loss.  Options are to have a third party solution to perform a mailbox backup or export to PST (see new-mailboxexport cmdlet). Capture relevant information from on-premise exchange and exchange online. Grab the mailbox information (primary   →

[EX2010][EXO] Forwarding Address Export and Import


Single mailbox export to PST file

Add member of a role group which has the Mailbox Import Export role

Export primary mailbox:

  Export archive mailbox:

  More details https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/New-MailboxExportRequest?redirectedfrom=MSDN&view=exchange-ps

[PS][EX2010] E-mails Recieved per day of Month Report

.Synopsis E-mail Counting Script v1 by ELAU 10/10/19 – Script counts emails received for each day of the current month .DESCRIPTION – Script pulls days of the month and counts number of emails received for each day of the current month or days specified into a HTML report. – Script allows option to e-mail report   →

[PS] [EX2010] Recoverable Folder Size Report

Recoverable Folder Size Report v1 Crawls all mailboxes and pulls the recoverableitemsquota size Displays top 10 in HTML report Full CSV report is generated E-mails report with full report