Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get-ADUser to see password last set and expiry information and more
Open Active Directory Module for Windows PowerShell To Run as administrator
help Get-ADUser
http://www.yshvili.com/images/helpGetADUser.JPG
Get-ADUser
Get-ADUser -identity yaniv -properties *
http://www.yshvili.com/images/Get-ADUseridentityyanivproperties.JPG
get-aduser -filter * -properties passwordlastset, passwordneverexpires | ft Name, passwordlastset, Passwordneverexpires
http://www.yshvili.com/images/getaduser.JPG
get-aduser -filter * -properties passwordlastset, passwordneverexpires | sort name | ft Name, passwordlastset, Passwordneverexpires
http://www.yshvili.com/images/getaduserfilter.JPG
Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name, passwordlastset, passwordneverexpires | Export-csv -path c:\yaniv.csv
http://www.yshvili.com/images/passwordneverexpires.JPG
References
Get-ADUser can be found here: http://technet.microsoft.com/en-us/library/ee617241.aspx