I have tried to install .exe file on multiple machines hosted on AWS via System Manager. But it won't work. Can anyone please correct this script to installed on SSM.
Start-Process -FilePath "example.exe" -WorkingDirectory "C:\Users\Administrator\Documents" /S -PassThru
When i tried this script into the Server. I get installation prompt.
have you tried 'Start-Process -FilePath "example.exe" -ArgumentList "/S" -WindowStyle Hidden'