Files
management-scripts/dbiarchitects/Install-Sketchup2019.ps1
T
2019-11-11 19:22:39 -05:00

12 lines
375 B
PowerShell

## Make sure SketchUp isn't being used
If ( $(Get-Process | Where { $_.Name -like "*SketchUp*" }) )
{
Write-Output "Cannot install SketchUp because it is currently being used."
}
## Run the script to upgrade Sketchup
Else
{
Try { Start-Process -FilePath "\\va01fsx01\applications\Programs\sketchup-pro-2019\install.bat" -WindowStyle Hidden -Wait }
Catch { $_ }
}