Please use AWX Job for Windows Server >= 2016 https://confluence.ps-intern.de/display/MSMS/runbook+-+Microsoft+Office https://awx.ps-intern.de/#/templates/job_template/6490/details For Servers <= 2012 R2, installation is only possible manually (due to missing sshd support) 1. Prepare odt Link: https://www.microsoft.com/en-us/download/details.aspx?id=49117 Start-Process -Wait -FilePath odt.exe -ArgumentList "/extract /quiet" Remove-Item *.xml Remove-Item odt.exe 1. Download with setup.exe cd $PathToSetup Start-Process -Wait -FilePath "setup.exe" -ArgumentList "/download {{ officeProductID }}.xml" 2. Change Configuration Get License from Hashi Vault 2. Installation cd $PathToSetup Start-Process -Wait -FilePath "setup.exe" -ArgumentList "/configure {{ officeProductID }}.xml"