I have a collection of about 15 Remote Desktop Sessions that I need to be able to log off by name. I know I could do it by Session ID, but that changes, so I can't script that to happen several times a day. The username and the IP address never change. Is there a way I can do this in PowerShell?
Thanks! Randy