Remote Desktop Services R2 Resource Kit

Tuesday, November 23, 2010

My new friends Christa Anderson and Kristin L. Griffin wrote the Microsoft Windows Server 2008 R2 Remote Desktop Services Resource Kit for which they asked me to contribute a “From the Field” article that examines the PowerShell TS Module I created.  This is the code example I wrote for them. The script gets all RD Session host servers in a domain, finds all active sessions that have been running for over an hour and disconnects them in order to save server resources:   1. Shows the usage of the -WhatIf parameter, what...