Exchange Cmdlet Statistics

You can use administrator audit logging in Microsoft Exchange Server to record actions taken by a user or administrator that make changes in your organization. By keeping a log of the changes, you can trace a change to the person who made it. You can also augment your change logs with detailed records of the change as it was implemented, use the records to comply with regulatory requirements and requests for discovery, and so on…. [source].

Yes, yes, the auditing is very useful. But I wanted to show you how could look a cmdlet statistic for a month:

PS C:\> Search-AdminAuditLog -StartDate $(get-date).addMonths(-1) -ResultSize 100000 -IsSuccess $true|select CmdletName|
group CmdletName|sort count -Descending|ft count,name -a

Count Name
----- ----
12318 Set-MailboxFolderPermission
12307 Set-CalendarProcessing
 8752 Set-MailboxAutoReplyConfiguration
 5860 Set-Mailbox
  678 Add-MailboxFolderPermission
  645 Set-User
  174 Add-DistributionGroupMember
  163 Add-MailboxPermission
  126 Remove-DistributionGroupMember
   98 Remove-MailboxFolderPermission
   89 Add-ADPermission
   84 Remove-MailboxPermission
   71 Enable-Mailbox
   26 Set-InboxRule
   24 Set-DistributionGroup
   18 Clean-MailboxDatabase
   16 Remove-ADPermission
   16 Remove-Mailbox
   16 Set-CASMailbox
    8 New-MailContact
    6 Remove-ActiveSyncDevice
    6 Disable-Mailbox
    5 Remove-MailContact
    4 New-DistributionGroup
    3 New-InboxRule
    2 Remove-AcceptedDomain
    2 Enable-DistributionGroup
    2 Set-SendConnector
    1 Update-Recipient
    1 New-MoveRequest
    1 Update-MovedMailbox
    1 Add-PublicFolderClientPermission
    1 New-SendConnector
    1 Remove-DistributionGroup
    1 New-MailboxSearch
    1 Disable-InboxRule
    1 Remove-InboxRule

Note: Cmdlets that begin with the verb Test, Get and Search aren’t logged by default.

3 thoughts on “Exchange Cmdlet Statistics

  1. Fantastic goods from you, man. I’ve have in mind your stuff previous
    to and you are just extremely great. I actually like what you’ve received
    here, certainly like what you’re stating and the
    way by which you say it. You’re making it entertaining and you continue to take care of to keep it sensible.

    I can’t wait to learn far more from you.
    This is really a tremendous site.

  2. My partner and I absolutely love your blog and find
    almost all of your post’s to be exactly I’m looking
    for. Do you offer guest writers to write content for you? I wouldn’t mind creating a post or elaborating on a lot of the subjects you write regarding here.
    Again, awesome site!

  3. You can cross-check it by opening the main website in a different tab and if you find it different from the one that you had visited earlier then probably you had landed on a phishing website.
    [1] A limitation for most of LDT in bottles, is that the hydraulic cylinder rod must be
    aos drilled through its center to adjust some elements
    of the LDT, AI in general, the waveguide tube made of a magnetostrictive transducer.
    The app also lets you jump directly to a page in a long document.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s