Files
management-scripts/Stop-DeltekVision.ps1
T
2020-08-09 17:52:30 -04:00

7 lines
334 B
PowerShell

## Stop the process if it's currently running
$Process = Get-Process -Name "DeltekVision" -ErrorAction SilentlyContinue
If ( $Process -ine $null )
{
Try { Stop-Process -Name $Process -Force }
Catch { Write-Output $_.Exception.Message }
} Else { Write-Output "Deltek Vision is not running or it's process could not be found." }