EXODSnapIn: Alpha Release

I wanted to write a post about the project I've been working on since circa December 2015. It's approximately 1200 lines of code and 18 commands - all varying in intended design/function. The assembly is meant to be imported into your Exchange Management Shell (EMS) via importing the module: Import-Module .\EXODSnapIn.dll -Verbose The intended audience is any Exchange Administrator with access rights to 'Update-MailboxDatabaseCopy' at the most/highest.

It should be important to note that some of these commands will work outside of EMS (e.g.: Get-WhoIsInformation) and do not, implicitly, require importation into EMS.

To add the assembly as a default into PowerShell, browse to C:\Users\your user name\Documents\WindowsPowerShell and edit (or create it if it does not exist) the Microsoft.PowerShell_profile.ps1 file to include Import-Module .\EXODSnapIn.dll -Verbose.

Get-AdObjectProperties
This command uses the System.DirectoryServices.Protocols library to search the current domain context for an object by both the property and property value supplied. In order to prevent overhead, I only return the processed collection of attributes for the first object returned.

 $obj = Get-AdObjectProperties -Property mail -PropertyValue johnbai@exchange.microsoft.com
$obj.whenCreated
12/20/2011 18:54:22

Get-InternetExchangeStatus
This command will present a new browser (or tab) showing the network graph of the Internet Exchange site specified (via switch parameter). Unfortunately, not all IX have their network status listed publicly; so, if you're looking for the status for San Antonio, for example, you will not be able to find it with this command.

 Get-InternetExchangeStatus -Amsterdam -Dublin -Frankfurt -Hamburg -London -Madrid -Munich

Get-WhoisInformation
This command takes an IPAddress (or array of them) and queries ARIN for the owner. If the owner is found to be RIPE, the command makes a second query to RIPE for the data before displaying it. (APNIC and LACNIC will be coming in the future, assuming they make REST endpoints available.)

 Get-WhoisInformation -IpAddresses "158.198.48.206", "4.4.2.2", "88.66.77.11", "1.1.1.1", "23.103.0.0", "80.0.0.0", "157.100.0.0", "8.8.8.8" | FT -AutoSize

Name                   OriginAs StartAddress EndAddress
----                   -------- ------------ ----------
APNIC-ERX-158-198-0-0           158.198.0.0  158.215.255.255
LVLT-STATIC-4-4-16              4.4.0.0      4.4.255.255
ARCOR-DSL-NET15                 88.64.208.0  88.66.79.255
APNIC-1                         1.0.0.0      1.255.255.255
MSFT                   AS8075   23.96.0.0    23.103.255.255
UK-NTLI-20010425                80.0.0.0     80.7.255.255
LACNIC-ERX-157-100-0-0          157.100.0.0  157.100.255.255
LVLT-GOGL-8-8-8                 8.8.8.0      8.8.8.255

Repair-MailboxSecurityDescriptor
This command queries the mailbox security descriptor for a specific user specified, removes the user's ACE, and re-applies all permissions on the object (without the removed ACE).

 Repair-MailboxSecurityDescriptor -Mailbox someone@contoso.com -User "Contoso\Someone2"
WARNING: The ACE for Contoso\Someone2 on someone@contoso.com was not found. Please validate your input[s].

Get-ExchangeProcessDiagnostics
This command parses the XML from the original diagnostics command to only give you the process-related information you may be concerned with, when troubleshooting an issue related to the process (e.g.: working set, mem usage, lifetime, etc.).

 Get-ExchangeProcessDiagnostics -ProcessName MSExchangeMailboxAssistants -Server $Server | FT -AutoSize

ProcessName                 LifeTime            ThreadCount HandleCount WorkingSet
-----------                 --------            ----------- ----------- ----------
MSExchangeMailboxAssistants 23.03:50:14.4678669         167        4315 570.8 MB (598,523,904 bytes)

Get-DeletionEventsForMailbox
This command queries for all of the Database Events related to deletions performed on the user's mailbox.

 Get-DeletionEventsForMailbox -SmtpAddress someone@contoso.com | FT -AutoSize
WARNING: This command will take some time to complete. Please be patient.

  Counter CreateTime            ItemType     EventName     ObjectClass                                MailboxGuid                          ClientCategory       UserType ParentEntryId
  ------- ----------            --------     ---------     -----------                                -----------                          --------------       -------- -------------
 99999999 4/28/2016 12:50:27 PM MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100000001 4/28/2016 12:50:27 PM MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100000003 4/28/2016 12:50:27 PM MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100001179 4/28/2016 1:01:31 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100001180 4/28/2016 1:01:31 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100001184 4/28/2016 1:01:34 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100002827 4/28/2016 1:14:04 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100003580 4/28/2016 1:20:23 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100003581 4/28/2016 1:20:23 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100003585 4/28/2016 1:20:24 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100003590 4/28/2016 1:20:24 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100003780 4/28/2016 1:22:37 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100004093 4/28/2016 1:25:30 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100004094 4/28/2016 1:25:30 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100004126 4/28/2016 1:25:48 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100006291 4/28/2016 1:40:06 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100006589 4/28/2016 1:43:47 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100007329 4/28/2016 1:54:20 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100007330 4/28/2016 1:54:20 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100007338 4/28/2016 1:54:22 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100008983 4/28/2016 2:05:57 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100008984 4/28/2016 2:05:57 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100008997 4/28/2016 2:05:58 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100010278 4/28/2016 2:13:29 PM  MAPI_MESSAGE ObjectDeleted IPM.Schedule.Meeting.Request               5081e2de-4bff-422a-9601-eff4bd04fab3 EventBasedAssistants          00000000DA58A48EAD04D14E83249194E7B36105010022F02B7771143E4B8B48ABD43107FC9300000AF544800000
100010279 4/28/2016 2:13:29 PM  MAPI_MESSAGE ObjectDeleted IPM.Schedule.Meeting.Request               5081e2de-4bff-422a-9601-eff4bd04fab3 EventBasedAssistants          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100010424 4/28/2016 2:14:04 PM  MAPI_MESSAGE ObjectDeleted IPM.Appointment                            5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001CD03C0000
100010643 4/28/2016 2:16:15 PM  MAPI_MESSAGE ObjectDeleted IPM.Appointment                            5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010022F02B7771143E4B8B48ABD43107FC9300000AF544800000
100010644 4/28/2016 2:16:15 PM  MAPI_MESSAGE ObjectDeleted IPM.Appointment                            5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100010662 4/28/2016 2:16:16 PM  MAPI_MESSAGE ObjectDeleted IPM.Schedule.Meeting.Canceled              5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010022F02B7771143E4B8B48ABD43107FC9300000AF544800000
100010663 4/28/2016 2:16:16 PM  MAPI_MESSAGE ObjectDeleted IPM.Schedule.Meeting.Canceled              5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100010745 4/28/2016 2:16:37 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100010806 4/28/2016 2:16:56 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100015172 4/28/2016 2:43:27 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100015173 4/28/2016 2:43:27 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100015177 4/28/2016 2:43:29 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100015286 4/28/2016 2:44:14 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100022263 4/28/2016 3:13:05 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100023147 4/28/2016 3:17:52 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100023157 4/28/2016 3:17:53 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001BD97D0000
100023158 4/28/2016 3:17:53 PM  MAPI_MESSAGE ObjectDeleted IPM.Note                                   5081e2de-4bff-422a-9601-eff4bd04fab3 Transport                     00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001C60AF0000
100026697 4/28/2016 3:32:15 PM  MAPI_MESSAGE ObjectDeleted IPM.Appointment.MP                         5081e2de-4bff-422a-9601-eff4bd04fab3 MOMT                          00000000DA58A48EAD04D14E83249194E7B36105010025A7CA50FD477849BFCCB20CBA662EF20000001CD03C0000
100037710 4/28/2016 4:02:45 PM  MAPI_MESSAGE ObjectDeleted IPM.Contact                                5081e2de-4bff-422a-9601-eff4bd04fab3 TimeBasedAssistants           00000000DA58A48EAD04D14E83249194E7B36105010022F02B7771143E4B8B48ABD43107FC930000000060550000
100037711 4/28/2016 4:02:45 PM  MAPI_MESSAGE ObjectDeleted IPM.Contact                                5081e2de-4bff-422a-9601-eff4bd04fab3 TimeBasedAssistants           00000000DA58A48EAD04D14E83249194E7B36105010022F02B7771143E4B8B48ABD43107FC93000078A453560000
100037712 4/28/2016 4:02:45 PM  MAPI_MESSAGE ObjectDeleted IPM.Contact                                5081e2de-4bff-422a-9601-eff4bd04fab3 TimeBasedAssistants           00000000DA58A48EAD04D14E83249194E7B36105010022F02B7771143E4B8B48ABD43107FC93000078A457400000

Get-ImpactedUserCount
This command gets the total number of mailboxes on the database, as is listed in AD.

 $dbs = Get-MailboxDatabase | Select -ExpandProperty Name
Get-ImpactedUserCount -Database $dbs
The total mailboxes on Database1 are 21
The total mailboxes on Database2 are 162
The total mailboxes on Database3 are 41
The total mailboxes on Database4 are 43
The total mailboxes are 267

Get-MailboxQuotaStatus
This command provides the current quota statistics for the mailbox in question.

 Get-MailboxQuotaStatus -Identity someoneone@contoso.com | FT -AutoSize

ExchangeGuid                         Quarantined UseDbDefaults TotItemSize                     MsgTblTotalSize                TotDelItemSize
------------                         ----------- ------------- -----------                     ---------------                --------------
594274b1-9e6f-45aa-b912-9ddb3797b57c       False         False 19.04 GB (20,447,468,845 bytes) 7.134 GB (7,659,716,608 bytes) 2.269 GB (2,435,837,443 bytes)


Get-MailboxQuotaStatus -Identity someoneone@contoso.com -Archive | FT -AutoSize

ExchangeGuid                         Quarantined UseDbDefaults TotItemSize                     MsgTblTotalSize                 TotDelItemSize
------------                         ----------- ------------- -----------                     ---------------                 --------------
594274b1-9e6f-45aa-b912-9ddb3797b57c       False         False 60.81 GB (65,289,171,556 bytes) 15.13 GB (16,247,652,352 bytes) 532.7 KB (545,501 bytes)

Get-TotalItemCount
This command returns the total number of items contained within the MAPI message table.

 Get-TotalItemCount -PrimarySmtp someone@contoso.com
250194
Get-TotalItemCount -PrimarySmtp someone@contoso.com -IncludeArchive
1249282

Get-TransportSendMomtEvents
This command looks for the MOMT events from a client (e.g.: Outlook) submission to StoreDriver.

 Get-TransportSendMomtEvents -SenderSmtpAddress someone@contoso.com -MessageId "<4810ce213bfc4cd7af8b9421e7266e7f@server.contoso.com>" | FT -AutoSize
WARNING: This command will take some time to complete. Please be patient.

  Counter ItemType     EventName     ObjectClass MailboxGuid                          ClientCategory ParentEntryId
  ------- --------     ---------     ----------- -----------                          -------------- -------------
172362630 MAPI_MESSAGE ObjectCreated IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c MOMT           000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF58900000000000D0000
172362631 MAPI_MESSAGE ObjectCreated IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c MOMT           000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF589000000000BE80000
172362632 MAPI_MESSAGE ObjectCreated IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c MOMT           000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF58900009B0A1F4A0000
172362636 MAPI_MESSAGE MailSubmitted IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c MOMT           000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF58900000000000D0000
172362645 MAPI_MESSAGE ObjectDeleted IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c Transport      000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF58900000000000D0000
172362646 MAPI_MESSAGE ObjectDeleted IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c Transport      000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF589000000000BE80000
172362647 MAPI_MESSAGE ObjectDeleted IPM.Note    594274b1-9e6f-45aa-b912-9ddb3797b57c Transport      000000004435FCF3C07DBE4F974F9D7A807901D00100BDCAB4A4117C7547B38E0314FA2AF58900009B0A1F4A0000

Get-ActiveUserCount
This command checks the perf counters of a specified server for both RPC and OWA user counters.

 Get-ActiveUserCount -Server SERVER

ComputerName     ListSet                    Source               Value
------------    -------                    ------               -----
SERVER       MSExchange RpcClientAccess Active User Count        2
SERVER        MSExchange OWA             Current Unique Users     1

Get-FailedHeathSetItems
This command obtains only the failed HealthSet entries from a query against the server.

 Get-FailedHeathSetItems -Server $Server -HealthSet OWA | FT -AutoSize

Server       State         Name                          TargetResource HealthSetName AlertValue ServerComponent
------       -----         ----                          -------------- ------------- ---------- ---------------
SERVER        NotApplicable MaintenanceFailureMonitor.OWA                OWA           Unhealthy  None

Get-UserFromSid
This command converts any SID you provide it to a NT Account (e.g.: Forest\user), as long as the SID is discover-able in AD.

 Get-UserFromSid -Sid S-1-5-21-2127521184-1604012920-1887927527-8406844
Domain\User
Get-UserFromSid -Sid S-1-5-21-2014436394-2366853861-4082801726-2365144
Domain\User2

Restart-ServiceOnAllNodes
This command will restart a service you specify across all nodes in a DAG (Database Availability Group).

 Restart-ServiceOnAllNodes -Dag DAG1 -Service MSExchangeMailboxAssistants
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is stopping.
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER1 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER2 is starting.
WARNING: The MSExchangeMailboxAssistants service on SERVER2 is starting.

Start-DatabaseReseed
This command attempts to reseed a database from the mounted copy; which is the preferred (recommended) way to reseed a database, so that a fail-over copy is available for HA (assuming more than two copies exist).

 Start-DatabaseReseed -DatabaseCopy $Copy -DeleteExistingFiles:$TRUE

Test-ClientOwaEndPoints
This command obtains the IP address entries for the name specified and attempts to perform an HTTP request against OWA.

 Test-ClientOwaEndPoints mail.contoso.com | FT -AutoSize

IpAddress   OwaStatusCode
---------   -------------
38.96.29.10        Unused
38.96.29.10        Unused

Test-TcpConnectivity
This command uses the basic .NET TcpClient to make a TCP connection to the specified host on the specified port.

 Test-TcpConnectivity -Endpoint mail.contoso.com -Port 25
True
Test-TcpConnectivity -Endpoint mail.contoso.com -Port 443
True
Test-TcpConnectivity -Endpoint mail.contoso.com -Port 444
Exception Caught: No connection could be made because the target machine actively refused it 10.221.254.5:444

Show-NetlogonImpact
This command shows the Netlogon counters for a specified machine.

 Show-NetlogonImpact -Server SERVER -Intervals 3

ComputerName   Source             Value
------------   ------             -----
SERVER         Semaphore Waiters      0
SERVER      Semaphore Holders      0
SERVER      Semaphore TimeOuts     0
SERVER      Semaphore Acquires 48614

SERVER      Semaphore Holders      0
SERVER      Semaphore TimeOuts     0
SERVER      Semaphore Waiters      0
SERVER      Semaphore Acquires 48616

SERVER      Semaphore Waiters      0
SERVER      Semaphore Acquires 48616
SERVER      Semaphore TimeOuts     0
SERVER      Semaphore Holders      0

Download
To download the assembly, please visit the TechNet Gallery here.