Closed infamousjoeg closed 5 years ago
Hi @infamousjoeg , An internal ticket has been created for this issue (CLI-576).
With best regards, Ziv
This turns out to be an issue with the location of the PSM server rather than an issue with this script. Closing. (Make sure your PSM Server is in the same AWS region as your instances and it'll be fine.)
After reviewing the code, it is not apparent anywhere that
$env:COMPUTERNAME
associated with the Windows EC2 instance is being captured. This will cause issues when attempting to RDP using the WinServerLocal platform as LogonTo should be given the AWS EC2 instance'sHOSTNAME
in order to properly copy over the audit agent needed for Windows Session Event capture.Including the capture of the Windows internal hostname and populating in EPV with the account object being onboarded will prevent a lot of hair-pulling from customers utilizing this Lambda functionality.