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? ![]() 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |