I'm looking for help to write a script to find out who are on the RDS and sign some of them off. I like to use Task Schedule to run this script. Currently, I run shutdown.exe /f /l to sign out individual user. There must be a way to find out a list of users on the server and loop-through one by one to force them off the server. Thank you.