Enable RemoteDesktop with PowerShell

enable-remotedesktop-with-powershell

From time to time I visit my public or private git repository knowing that I’ve faced and solved that problem before, knowing that the solution was tested and work as expected.

In this case, I had a script that was a oneliner ( nothing wrong with), it but to meet the goal I needed to add another 2 lines, so to make it more reusable by other user and still keep it readable and flexible I’ve refactored the script and wrote this article. As mentioned in the title the subject is RDP and Powershell.

This is, without any doubt, a 101 subject for every system administrator.

Continue reading “Enable RemoteDesktop with PowerShell”

How to generate a Remote Desktop Manager (RDMan) group XML for your infrastructure with PowerShell

I thought that RDMan, aka Remote Desktop Connection Manager, fitted perfectly in “A BLAST FROM THE PAST” category of software used back in the day by every System Engineer working on Windows Systems. I was wrong. Believe it or not, it is still strong today!

When you need to manage multiple servers/workstation remotely via RDP(Remote Desktop Protocol) it’s for most professionals the obvious choice. The GUI of the application is straightforward and in most cases or scenarios it’s fit for purpose. Continue reading “How to generate a Remote Desktop Manager (RDMan) group XML for your infrastructure with PowerShell”

How to Query and Log Off Remote Desktop Sessions with Powershell

how-to-query-and-log-off-remote-desktop-sessions-with-powershell

The Remote Desktop Procotol (RDP) is still strong and it’s not going away anytime soon, indeed there are companies like CITRIX that have built part of their success creating robust management for it.
As you can imagine, there a lot of ways to manage RDP according to the type of implementations or tools involved, so some corner cases will not be cover in this article. There are also tools like gateways that will provide a central management point for all sessions, but let’s assume that these tools are not available to you or not part of your infrastructure design. Continue reading “How to Query and Log Off Remote Desktop Sessions with Powershell”