The following are the steps to install agents in bulk in AWS Instances.
Localagent.exe
to the created bucket and set the permission as public.Note: Use cases are defined by the service to include the trust policy that the service requires.
Note: You can also add AmazonEC2RoleForSSM to an already existing IAM role.
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
Note: Replace BUCKETPATH
with the actual object URL.
You have now successfully installed agents in AWS Instances.
Thank you for your feedback!
Sorry about that!