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:

Office 365 Service Health Monitor using Office 365 Management API v2 and PowerShell

NOTES: May 30, 2019 - Updated post to show new App Registration experience. This script demonstrates how to retrieve the Office 365 Service Health Data using the Office 365 Management API, and send the email report using Microsoft Graph API. The logic flow is simple: Retrieve...
Share:

Office 365 Mailbox Forwarding Rules Report using PowerShell

Being on top of who’s forwarding messages to who’s email, especially those being forwarded to external domains is essential to email security for administrators. Phishing attacks can leave your users’ mailboxes prone to data exfiltration by way of forwarding emails, and so being...
Share:

Enable Mailbox Auditing in Office 365 using PowerShell Script

One of the things that don’t happen automatically when provisioning an Office 365 Mailbox is getting the Mailbox Audit Enabled. This script can be run manually or by schedule to enable auditing on mailboxes.Download Linkhttps://github.com/junecastillote/Enable-EXOMailboxAuditRequirementsThe...
Share:

Monitoring Event IDs using PowerShell

I know that there are 3rd party commercial solutions that can monitor your servers for events IDs. But most of the time these solutions comes with features that you don’t really need and can cost some serious cash. Or maybe your company already have one in place but doesn’t...
Share:

Generate DNS MX Record Report using PowerShell

When you manage an email system, you’re sure to deal with MX records, and sometimes it is good to be able to generate a report of all the DNS MX Records for your domains to monitor their validity or availability. Being caught by surprise as your MX records go missing resulting...
Share:

Checking Website Up Status using PowerShell

Overview This script can be used to query a list of sites and produce an HTML report of their status. I created this script in order to get a report of SharePoint sites that my team manage without having to check the site one by one to see if they are up or not. Download https://github.com/junecastillote/Get-WebUpStatus How...
Share:

Popular Posts

Powered by Blogger.