Skip to content

Latest commit

 

History

History
executable file
·
13 lines (9 loc) · 1.27 KB

README.md

File metadata and controls

executable file
·
13 lines (9 loc) · 1.27 KB

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.