But I want to check several users. Short of putting them into an array and checking each one at a time, is there a way I can put them in an array and check them all, eg:-
$arr = ['tony.cross', 'user4', 'user3']Get-ADUser -identity $arr -properties passwordlastset | sort name | ft Name, passwordlastset