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

How to set a script to output into ascending or descending order

$
0
0
I am using this script and I would like PasswordLastSet to be in oldest password set to newest password set. Is there a easy way to do this or should I put it into a csv file and then do it in excel?

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

Viewing all articles
Browse latest Browse all 15028

Trending Articles



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