PowerShell, Active Directory : Uncheck password does not expire
#PowerShellIf you have lots of accounts that have passwords set to never expire this script will hunt them out and correct that for you Import-Module ActiveDirectory…
PowerShell: Get last AD user login
#PowerShellThis is a little more tricky than it looks. Last login is only stored on the DC that last authenticated the user, hence you need to…
PowerShell : System Audit (How to correctly use Invoke-Command for batch jobs)
#PowerShellI rececently revisted an old script that i had build to audit flash versions. In this 200+ line script, I pulled the machine list from AD…