
Find Disabled Users with Graph API and Powershell
Microsoft licensing can cost a lot of money. It's not logical to have a disabled account have licenses. Some licenses can cost up to $25 USD a month. So if you have 4 of these disabled accounts with licenses, that could easily be 100 per month. Let us Find Disabled Users with Graph API using PowerShell and find which ones have licenses. Today's...
Disable Shared Mailbox Sign-Ins
As part of the exchange online hardening process, one must disable the sign-in ability of shared mailboxes. This process is simple. You will need to exchange Online and the MS Online modules. First, we will grab all the shared mailboxes using the exchange online. Then...
Oneliner Password Generator
Passwords, Passwords, and more Passwords. Let's generate a 16 character password that is complex and random that you will have to save into your password manager because you will never remember it. The Single Line [string]::Join("",(1..16 | ForEach-Object...
Dad Jokes
One of the things I love to do is add a Dad joke to my reports. Reddit has some good ones. What's cool about Reddit is they have a JSON backend that can be used and Used I do. The Function Function Get-DadJoke { $DadJoke = Invoke-RestMethod -Uri...
