Skip to content

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

License

Notifications You must be signed in to change notification settings

rhymeswithmogul/RdpToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5a2ed21 · Mar 29, 2024

History

17 Commits
Oct 25, 2022
Oct 25, 2022
Mar 29, 2024
Oct 16, 2020
Oct 25, 2022
Oct 16, 2020
Oct 16, 2020
Aug 15, 2022
Oct 16, 2020
Oct 25, 2022

RdpToolkit

PowerShell Gallery Version (including pre-releases) PowerShell Gallery Contributor Covenant

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:

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.