Skip to main content

Learn About Scripting for Remote Desktop Services

This page provides a list of scripting resources related to Remote Desktop Services. If you have questions concerning this content or scripting Remote Desktop Services, please ask your questions at the Remote Desktop Services Forum.

Hey, Scripting Guy

Read an archive of the Scripting Guys' answers to customer-submitted questions about Remote Desktop Services.

Scripting for Remote Desktop Services

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/10/09)
Troubleshooting a Windows Powershell Script Hey Scripting Guy! I tried to use the script from the May 2009 TechNet Magazine article, Hey, Scripting Guy! Working with Access Databases in Windows PowerShell . But when I run it I get an error. This ha... more
Hey, Scripting Guy! Event 8 *Solutions* from Expert Commentators (Beginner and Advanced; the pole vault)
( Note : These solutions were written for Event 8 .) Beginner Event 8: The pole vault In the pole vault event, you will raise the bar as you run down the folder that is consuming the most disk space on your computer. Guest commentator: Michael.... more
Hey, Scripting Guy! Event 4 *Solutions* from Expert Commentators (Beginner and Advanced; the high jump)
(Note: These solutions were written for Event 4 .) Beginner Event 4: The High Jump In the high jump event, you must soar to new heights as you read a database containing high jumpers training data in order to predict who will win on gameday. ...... more
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (03/27/09)
Determining if SQL Is Installed; How to Read Paired Information into a Dictionary Object Hey, Scripting Guy! Being an avid reader of your columns for the last several years has been a blast. I wrote you once before but with no success (in terms of a ... more
Hey, Scripting Guy! How Can I Edit Terminal Server Profiles for Users in Active Directory?
Hey, Scripting Guy! I need to modify the terminal server profile for a bunch of users in Active Directory, and I don't get it. I can see the properties on Active Directory Users and Computers, but when I look in ADSI Edit, I cannot find the property ... more
How Can I Determine Whether Terminal Services is Enabled on a Windows Server 2003 Computer?
Hey, Scripting Guy! How can I determine whether Terminal Services is enabled on a Windows Server 2003 computer? -- DD Hey, DD. You know, it turns out to be true: good things will come to those who wait. According to the front page of The Seattle Ti... more

Articles

Scripting for Remote Desktop Services

Configuring Virtual Display Adapters for Virtual Machines on a RemoteFX Server
This blog post describes the new Remote Desktop Services Windows PowerShell cmdlets, introduced in the Windows Server 2008 R2 SP1 timeframe, that configure virtual display adapters for virtual machines on a RemoteFX-enabled RD Virtualization Host ser... more
Configuring Remote Desktop licensing settings on a Remote Desktop Virtualization Host server
[Step 4 corrected 1/27/2011. Thank you, pdias]This blog post introduces the Windows PowerShell cmdlets for configuring Remote Desktop licensing settings on a RemoteFX-enabled RD Virtualization Host server in Windows Server 2008 R2 SP1.Until Window... more
Manage Remote Desktop Licensing by using Windows PowerShell
[Aug. 2010: Updated instructions for starting PowerShell in the RDS context]In Windows Server® 2008 R2, we introduced the Remote Desktop Services Provider for Windows PowerShell™. This post gives examples of how you can use this new featur... more