Your PowerGUI Community: Simplify your PowerShell related GUI and script editing needs.
Terminal Services PowerPack
(Release notes before screenshots)
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.
Benefit to AdministratorsThis PowerPack allows basic administration of Terminal Servers (view settings, permissions, enable/disable connections), RDP sessions (message, connect to, disconnect) and RDP connections (launch, edit settings). Additionally, administrators can immediately launch an RDP connection to a ADComputer they may be viewing in PowerGUI.
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.
Fixed all the bugs found with Vista!
RequirementsWindows XP, Windows Vista, or Windows Server 2003 (Windows Server 2008 not tested yet but may work)PowerGUI 1.6 RTM (126.96.36.1994)
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:
New-RDP - http://poshcode.org/674
Edit-RDP - http://poshcode.org/675
Start-RDP - http://poshcode.org/676
Get-RDPSetting - http://poshcode.org/678
Set-RDPSetting - http://poshcode.org/679
2.0.1 (April 5, 2009)- Fix: Fixed bug in PowerShell 2.0 CTP3 with missing links and actions.
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. :)
1.0 (September 30, 2008) Download Milestone: 3555- Initial Release
Screen Shots (New ones coming soon)