Skip to content

Instantly share code, notes, and snippets.

Created September 1, 2017 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/44c1c7ce82a23656215eeb7b2fb1d082 to your computer and use it in GitHub Desktop.
Save anonymous/44c1c7ce82a23656215eeb7b2fb1d082 to your computer and use it in GitHub Desktop.
Get-Mailbox | Search-MailboxAuditLog -LogonTypes owner -ShowDetails | ? { $_.ClientInfoString -like "*Outlook*" } | select MailboxOwnerUPN,Operation,LogonType,LastAccessed,ClientInfoString | export-csv .\OutlookConnections.csv 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment