
Find Forwarding Rules
Not too long ago, I needed to do some rule auditing for forwarders in a client's exchange online. They believed someone had a rule in their exchange account that was forwarded to a spammer. They believed this because new employees were receiving emails within a few days of creation. So, it's time for some PowerShell magic to save the day. It's...
SHD – Disable Inactive Users
Now we have a way to find the disable OU, and to disable a user, now it's time to disable old accounts. We do this by targeting the Last Logon dates. Word of warning before we continue. When you do this, target a single OU instead of all of the company. Target only...
SHD – Disable User
My last blog was about how to find the disabled user OU. Now we will go over how I disable users and move them around to the disabled OU. The next blog will combine all this together and remove inactive accounts that are within a set OU. Let's rock this! First first...
SHD – Find Disabled OU
Have you ever started in a company and there was no documentation? The disabled OU isn't named "Disabled Users" and things are just what the heck? This powershell script will help find that disabled user OU. Believe it or not, it's a one liner. ((Get-ADUser -filter {...
