Search PowerShell Objects
Recently, I was playing with Intune devices using graph API and managed devices. I was able to search for things like the device name with no issues, but when it came to the unique codes, I started having beautiful dyslexia issues. As I struggled, I asked myself how I could search this whole PowerShell object all at once, every value and every...
Get Mailbox Rules Using PowerShell
Ever found yourself tangled in the web of Exchange Online mailbox rules? Yeah, me too. It's like trying to find a needle in a haystack, especially if you're managing multiple mailboxes. Thankfully, I stumbled upon a nifty PowerShell script that makes this task a...
Scheduled Tasks with PowerShell
Last week we went over how to do audits using PowerShell (Link). Today we will use scheduled tasks with PowerShell to have the audit script run hour by hour. We do this because we don't want to be manually running the PowerShell script every hour. Let the computer...
Audit Disabled Accounts
Imagine waking up to an email full of alerts about unwanted access attempts. It is every administrator's nightmare. The truth is that many security incidents can be traced back to disabled accounts that were not properly reviewed. You might wonder, "What about...