Hello, all. This is probably not worth asking, but it’s more out of curiosity than anything. I’m running a very simple script to output users in a group. Obviously I can dump it to Excel and sort it very easily, but is there a way to sort it if I output to the screen?
Get-ADGroupMember -Identity group_name | select-object samaccountname
I apologize in advance if this is a ridiculous question I should be able to figure out on my own.
Loving this site!