Skip to content

Possibility to quickly open RDP from shortcut or URL#66

Merged
TomekMelissa merged 7 commits intomicrosoft:masterfrom
dawkacz:master
Dec 7, 2021
Merged

Possibility to quickly open RDP from shortcut or URL#66
TomekMelissa merged 7 commits intomicrosoft:masterfrom
dawkacz:master

Conversation

@dawkacz
Copy link
Copy Markdown

@dawkacz dawkacz commented Nov 2, 2021

Hi all,

I've implemented this feature to be able to quickly connect to desired cloud-hosted environment by using:

  • desktop shortcuts
  • URL links from browser
  • command-line arguments

Inspiration for the solution was taken from:
https://github.com/konradsikorski/RdpProtocolHandler

I've implemented a way to bind an 2LCS app to URI scheme according to the below specification

ms-2lcs://connectRDP/?projectId={projectID}&environment={CHEDisplayName}

where:

  • projectID is from "Project Id" column from "Choose LCS project" grid
  • CHEDisplayName is from "Display Name" column from "Cloud-hosted instances" grid

This allows to quickly open an RDP connection

image

@ghost
Copy link
Copy Markdown

ghost commented Nov 2, 2021

CLA assistant check
All CLA requirements met.

@TomekMelissa TomekMelissa merged commit 4914fbd into microsoft:master Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants