Archive for the ‘get-aduser’ Tag

List users with passwordlastset as null

Sunday, December 22nd, 2019

Another test from the month of lunches book was to list out user account with passwordlastset as null.

get-aduser -filter * -properties passwordlastset | where {$_.passwordlastset -eq $null} | ft Name,PasswordLastSet