SynopsisThis PowerPack will allow you to manage and use your saved RDP connections. Open connections, edit settings, and view Terminal Service settings.

NOTE: Define the "$rdphome" variable in your profile to point to the folder to store your RDP files.

With this PowerPack you can also view the Terminal Service settings and active RDP sessions on a remote machine or the local machine. While viewing active RDP sessions, you can interact with them by sending a message to the user, shadowing the connection (local sessions only), take over the connection (local sessions only), or disconnect the session in various ways.

New this releaseThe Terminal Services settings areas of this PowerPack have been restructured. This fixes several bugs with disabling and enabling terminals and fixes Vista compatibility. This change also exposes many more settings of Terminal Server.

When viewing permissions, there are now properties for each permission level interpreted from the allow bitmask.

Active sessions now show session name and status. The "Shadow" and "Connect To" options were removed for remote sessions because they will not work.

How to install1. Download the TerminalServices.powerpack file that is attached to this article.2. Open the PowerGUI Admin Console.3. In the PowerGUI Admin Console, right-click the root node and select the Import menu command.4. Import the TerminalServices.powerpack file that you downloaded in step 1.5. In your PowerShell profile, define a variable named "rdphome" that points to a folder to store your RDP connections. A good choice is to make a "RDP" folder in your user documents folder.

How to upgrade1. Download the TerminalServices.powerpack file that is attached to this article.2. Open the PowerGUI Admin Console.3. In the PowerGUI Admin Console, right-click the "Terminal Services" folder and select the Delete menu command.4. Once you have deleted the old version of the Terminal Services PowerPack, right-click the root node and select the Import menu command.5. Import the updated TerminalServices.powerpack file that you downloaded in step 1.6. Once you have imported the updated TerminalServices.powerpack file, your Terminal Services PowerPack will be up to date.

Other ReleasesI have released the RDP file centered functionality as a series of PowerShell v1 compatible functions/scripts. They are available on PoshCode.org:

2.0 (April 4, 2009) Download Milestone: 3559- Feature: Many more settings for the Terminal Server are now available such as licensing information.- Feature: Better lookup of addresses (IP and MAC) for Terminal Servers, now shows all network adaptors.- Feature: Added properties that interpret the permissions bitmask field.- Feature: For active sessions, you can now see the session name and status.- Fix: Restructured the nodes, links and actions dealing with the server settings to fix many bugs.- Fix: Fixed bugs with Vista.- Fix: Fixed bugs with Vista.- Fix: Fixed bugs with Vista. :)