项目作者: rhymeswithmogul

项目描述 :
A PowerShell module for working with Remote Desktop Connection (.rdp) files.
高级语言: PowerShell
项目地址: git://github.com/rhymeswithmogul/RdpToolkit.git
创建时间: 2020-10-16T02:34:11Z
项目社区:https://github.com/rhymeswithmogul/RdpToolkit

开源协议:GNU Affero General Public License v3.0

下载


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:

  1. New-RdcFile -Path 'Work.rdp' -ComputerName 'WorkPC.contoso.local' -UserName 'myaccount@contoso.com' -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 myaccount@contoso.com. 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.