Remote Desktop Services Provider for Windows PowerShell

 

Today I discovered the Remote Desktop Services Provider for PowerShell, and I must say, its pretty cool.  Here’s the link to the documentation on Technet:

http://technet.microsoft.com/en-us/library/ee791871(WS.10).aspx

I found it particularly useful to log in remotely using the open-pssession command and then import the module to get started with it.  To import the module simply enter the following:

import-module remotedesktopservices

Once loaded, you can access the RDS configuration by treating it as a file system on the RDS drive.  You do this by entering:

set-location RDS:

From there you can navigate using get-childitem (or DIR or LS), and it all becomes pretty intuitive from there. Most of what you might want to do is controlled by way of get-item or set-item commands.  The Technet article noted above provides some great examples.

Well done RDS Team. Well done.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: