I\'m working on a powershell script to install Autodesk products and I am having some trouble.
I\'ve tried this many different ways and keep running into errors.
In order to understand how to "quote" the parameters for start-process here is a sample of code to start the unattended installation of vmtools
the command i wanted to run in a powershell:
setup.exe /l /v"/qn REBOOT=R ADDLOCAL=ALL REMOVE=Hgfs,Unity,BootCamp,SVGA"
The powershell sample:
Start-Process -FilePath "$vmtoolspath\setup.exe" -ArgumentList "/l /v ""/qn REBOOT=R ADDLOCAL=ALL REMOVE=Hgfs,Unity,BootCamp,SVGA"" " -Wait