PowerShell Script to Delete Files By Age with Email Summary Report and MS Teams Notification

This script can be used to perform file deletions based on age in days, and with the option to send an email summary report. In my particular case, this is deployed to performed housekeeping of IIS and Exchange Server Logs older than seven (7) days. This is a fork of the previous...
Share:

How To Get Microsoft Graph API Token Using PowerShell

UPDATE: This is now available as a module https://www.powershellgallery.com/packages/Office365TokenGet One of the things that I had difficulty with when I was starting to work with MS Graph API was how to get authenticated. So here is a post that hopefully would help others...
Share:

Popular Posts

Powered by Blogger.