Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Editing a script to show last password change for disabled accounts.

$
0
0
get-aduser -filter * -Properties whencreated, Enabled | Where-Object {($_.Enabled -eq $False)} | Select-Object name, whencreated, Enabled

Here is the script I have,I would also like to add a column to it that has the date of the last password change. Is this possible

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>