how i have lived this long in my life without familiarity with these commands is beyond me. i'm a big fan of the command line especially commands that are already or mostly built in. these come with the admin pack. so much easier than opening up the ad user group mgr and other gui tools. here's a sample command.
dsquery group -name "any domain group in your domain" | dsget group -members |dsget user -email -samid -display
this command will pipe the full name to the get command to list the members which pipes to the command to show the email, samid,...
i figured i would make a quick post of some rdp type info i know.
realize that all of these require you have the appropriate permissions.have
you ever tried to login to a machine via rdp only to get the message
that there are too many sessions? well here's how to kill one of those
sessions. first of all, you need to see what sessions there are. to do
that, we can utilize the command line tool qwinsta. type qwinsta /? to
see the syntax. here's a sample:C:\>qwinsta /server:server1 SESSIONNAME USERNAME ...