Skip to main content

Powershell: Check Bad Logon

For illustration: Denied

get-aduser -Filter {BadLogonCount -ne 0} -properties * | select SamAccountName,BadLogonCount,BadPasswordTime,BadPwdCount,@{name='badPasswordTimeDT'; expression={[datetime]::fromFileTime($_.badPasswordTime)}} | sort BadPasswordTime | FT

Popular posts from this blog

VMware Workstation: Backup inventory and preferences

Backup these two files in your profile.

Deep Learning: Free Online Courses

Deep Learning - Machine Learning - Artificial Intelligence

Microsoft Azure Web App Service

Three steps to create a FREE web app on Microsoft Azure using Azure CLI .