PowerShell to get list of RDS users (not active sessions)


is there way (preferrably powershell) generate list of domain users access various xenservers? have geographically disparate network hundreds of servers trying manage, , need accurate count of users access servers licensing reasons. suggestions? prefer buy software package if not necessary. thanks.

hi bobby,

as far know, terminal servers don’t keep track of users have logged on before, can find out users logged on.

to find out users have logged on, may need collect related logon event messages.

find logged on users on remote system/s

https://gallery.technet.microsoft.com/scriptcenter/d46b1f3b-36a4-4a56-951b-e37815a2df0c

quick-hits: find logged on users

http://learn-powershell.net/2010/11/01/quick-hit-find-currently-logged-on-users/

please note: since web site not hosted microsoft, link may change without notice. microsoft not guarantee accuracy of information.

in addition, here powershell forum below if there powershell related queries:

https://social.technet.microsoft.com/forums/windowsserver/en-us/home?forum=winserverpowershell

best regards,

amy


please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.




Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

DCOM received error "2147746132" from...

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B

DFSR RPC replication errors 5014 1726 with large files over VPN