GithubHelp home page GithubHelp logo

cunninghamp / get-mailboxauditloggingreport.ps1 Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 14.0 16 KB

Generate an Exchange Server mailbox audit logging report

License: MIT License

PowerShell 100.00%

get-mailboxauditloggingreport.ps1's Introduction

Get-MailboxAuditLoggingReport.ps1

This PowerShell script will generate a report of the mailbox audit log entries for a specified mailbox.

Results are output to CSV/HTML, and also optionally to email.

Usage

  • -Mailbox, The mailbox that you want to query for mailbox audit log entries.
  • -Hours, How many hours in the past you want to query for. Default is 24 hours.
  • -SendEmail, Send the HTML report and CSV attachment via email.
  • -MailFrom, The "From" address for the report email.
  • -MailTo, The recipient of the report email.
  • -MailServer, The SMTP server to use to send the report email.

Examples

.\Get-MailboxAuditLoggingReport.ps1 -Mailbox Payroll -Hours 48

Checks the Payroll mailbox for mailbox audit log entries from the last 48 hours.

.\Get-MailboxAuditLoggingReport.ps1 -Mailbox Payroll -hours 48 -SendEmail -MailFrom [email protected] -MailTo [email protected] -MailServer smtp.exchangeserverpro.net

Checks the Payroll mailbox for mailbox audit log entries from the last 48 hours and sends the report email with the CSV file attached.

Credits

Written by: Paul Cunningham

Find me on:

Check out my books and courses to learn more about Office 365 and Exchange Server.

get-mailboxauditloggingreport.ps1's People

Contributors

cunninghamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.