You will need to create an RDP connection, ensure to name it RDP with the name of your AWS_Profile and save it locally.
Look for the line:
mstsc "G:\Documents\Development\RDP Sessions\AWS\RDP_$($ENV:AWS_Profile).rdp" /v:localhost:$PortToUse
Replace it with your save location:
mstsc "C:\SavedLocation\RDP_$($ENV:AWS_Profile).rdp" /v:localhost:$PortToUse
PowerShell: Navigate to the save location of your script and import the tooling
. .\AWSRDPConnection.ps1
Start-AWS || SAWSย
- The full function name is Start-AWS but can be used by its alias SAWS
SAWS -AWSProfile ProfileName -SearchTerm SERVERName
Command | Help |
---|---|
AWSProfile | This is your AWS Profile Name |
SearchTerm | A search input for the server you're after. - Can be left blank for all servers. - Can be a partial Name to wildcard the server you're after. |
PAWS | Shows Previous AWS Connections |
When you've ran the search you'd expect the following results.
Type in the associated server number ID and it will start to launch into your server instance.