Remove autodesk backburner 20141/2/2023 ![]() I am open to the best way to accomplish the following tasks below in the script. ![]() $Body = "Completed the install of IDSU 2017 on $env:computername" $From = " = " = "Completed the install of IDSU 2017 on $env:computername" Setup.exe /W /q /I Img\IDSU 2017.ini /language en-us how to get it to wait until all components have installed and script has ran to completion before proceeding? $IDSU2017PD = \\server\data\Software\Autodesk\IDSU2017\Install\Deployment\Img $Body = "Starting the install of IDSU 2017 on $env:computername" $From = " = " = "Starting the install of IDSU 2017 on $env:computername" If file exists "C:\Program Files\Autodesk\AutoCAD 2017\Acad.exe" then go to exit, else run install. $Body = "Completed the uninstall of IDSU 2016 on $env:computername" $From = " = " = "Completed the uninstall of IDSU 2016 on $env:computername" Start-Process -ArgumentList "/c `'$batFile-2016U`'" -FilePath 'cmd.exe' how to get it to wait until all components have uninstalled and script has ran to completion before proceeding? $batfile-2016U = "\\\data\Software\Autodesk\IDSU2017\Install\Deployment\SMS_SCCM scripts\IDSU2016.bat" Send-MailMessage -From $from -To $to -subject $Subject -Body $body -SMTPServer $SMTP $Body = "Starting the uninstall of IDSU 2016 on $env:computername. $From = " = " = "Starting the uninstall of IDSU 2016 on $env:computername" Then run uninstall bat script to remove programs, else skip down to 2017 file check/exist section skipping emails for 2016 Here is what i have so far and bolded the areas i need some additional assistance with.Ĭ:\Program Files\Autodesk\AutoCAD 2016\Acad.exe We have to do this by individual dept/studios after hours on several different days in the next couple of weeks. ![]() We are creating a custom powershell script that will uninstall AutoCAD 2016 products and install AutoCAD 2017 products. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |