Public-Scripts icon indicating copy to clipboard operation
Public-Scripts copied to clipboard

Various Scripts and Tools for Microsoft Technologies Professionals

Author: Mike Crowley

Mike's Blog Baseline Technologies Microsoft MVP Public PGP Key linkedin.com/in/MikeCrowley


Buy Me A Coffee

Public-Scripts Repository

GitHub License GitHub top language GitHub commit activity GitHub code size in bytes

Microsoft retired the TechNet Gallery, so I've re-uploaded a few scripts that were formally posted here: https://social.msdn.microsoft.com/Profile/mike%20crowley

  • Get-AlternateMailboxes.ps1

    • Query Exchange Online AutoDiscover to enumerate mailbox delegates with modern auth.
  • Get-AlternateMailboxes_BasicAuth.ps1

    • Query Exchange Online AutoDiscover to enumerate mailbox delegates. The old basic auth version.
  • Graph_SignInActivity_Report.ps1

    • Report on user SignInActivity and license detail via Invoke-RestMethod from Microsoft Graph.
  • LowerCaseUPNs.ps1

    • Change Exchange user's email addresses to lowercase.
  • MailUser-MgUser-Activity-Report.ps1

    • Get Export login information for mail users via Microsoft Graph.
  • MgUserMail.ps1

    • Send email via Microsoft Graph.
  • RDPConnectionParser.ps1

    • Extract interactive (local and remote desktop) login information and save to CSV.
  • RecipientReportv5.ps1

    • Dump all recipients and their email addresses (proxy addresses) to CSV.
  • Request-AdfsCerts.ps1

    • Remotley query ADFS to see information about the certificates it is using.
  • Restore-FromRecycleBin.ps1

    • Restore files from SPO in bulk.

Gists

GitHub License GitHub top language

There are also a few things over here: https://gist.github.com/Mike-Crowley

Be sure to read the comments in the scripts themselves for more detail!

Visit https://mikecrowley.us/tag/powershell for additional functions and scripts.