Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rhymeswithmogul/rdptoolkit

A PowerShell module for working with Remote Desktop Connection (.rdp) files.
https://github.com/rhymeswithmogul/rdptoolkit

code-signing microsoft mstsc mstsc-windows powershell powershell-core powershell-gallery powershell-module pwsh rdc rdp rdp-access rdp-connection rdp-gateway remote-desktop remote-desktop-protocol remote-desktops terminal-services windows-powershell

Last synced: 27 days ago
JSON representation

A PowerShell module for working with Remote Desktop Connection (.rdp) files.

Awesome Lists containing this project

README

        

# RdpToolkit
[![PowerShell Gallery Version (including pre-releases)](https://img.shields.io/powershellgallery/v/rdpToolkit?include_prereleases)](https://powershellgallery.com/packages/RdpToolkit/) [![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/RdpToolkit)](https://powershellgallery.com/packages/v/RdpToolkit) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)

This is a PowerShell module to programatically generate and modify the `.rdp` connection files used by apps that implement Microsoft's Remote Desktop Protocol. While fairly boring on its own, perhaps you can integrate this module into something of yours.

## Example
One command available in this module is `New-RdcFile`:

```powershell
New-RdcFile -Path 'Work.rdp' -ComputerName 'WorkPC.contoso.local' -UserName '[email protected]' -Redirect Drives,Cameras,AudioCapture -Sign
```

That will create a file in the current folder called `Work.rdp` that will connect you to the computer `WorkPC.contoso.local` with the suggested username [email protected]. Upon successfully connecting, the local computer's cameras, drives, and microphones will be available in the remote session. The `.rdp` file will also be signed to prevent tampering.