This is only applicable for Patch Manager Plus build version 10.0.545 and above.
The following are the steps to install agents in bulk in AWS Instances
Create IAM role for SSM.
Note: Use cases are defined by the service to include the trust policy that the service requires.
Note: You can also add AmazonEC2RoleForSSM in the already existing IAM role.
Run the command to install the agents in AWS Instances.
Note: BUCKETPATH is object URL.
New-Item -ItemType directory -Path C:\\LocalOffice\\localsetup
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("BUCKETPATH/UEMSAgent.msi","C:\\LocalOffice\\localsetup/UEMSAgent.msi")
$WebClient.DownloadFile("BUCKETPATH/UEMSAgent.mst","C:\\LocalOffice\\localsetup/UEMSAgent.mst")
$WebClient.DownloadFile("BUCKETPATH/setup.bat","C:\\LocalOffice\\localsetup/setup.bat")
cmd /c msiexec /i C:\\LocalOffice\\localsetup\\UEMSAgent.msi REBOOT="REALLYSUPPRESS" MSIRESTARTMANAGERCONTROL="Disable" TRANSFORMS=C:\\LocalOffice\\localsetup\\UEMSAgent.mst ENABLESILENT=yes /qn
You have now successfully installed Patch Manager Plus Agents in AWS instances.