Created
August 30, 2022 04:44
-
-
Save arush15june/5a960ff0a7b18b3fed8594dd68c14846 to your computer and use it in GitHub Desktop.
RDP into AWS Windows VM from Terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add your instance name in Values | |
$ip = aws ec2 describe-instances --filters "Name=tag-key,Values=windows_instance" --query 'Reservations[*].Instances[*].PublicIpAddress' --output text | |
mstsc /v:$ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment