function Start-QUIK {
do
{
$QUIKName = "info"
$GetQUIKProcess = (Get-Process -Name $QUIKName).ProcessName
if ( $GetQUIKProcess -ne $QUIKName ){
Write-Host "No running QUIK"
Start-Process -FilePath "C:\QUIK_VTB_85\info.exe"
Start-Sleep -Seconds 5
}
if ( $GetQUIKProcess -eq $QUIKName ){
Write-Host "QUIK is up"
}
}
Until ($GetQUIKProcess -eq $QUIKName)
}
Start-Process -FilePath "C:\QUIK_VTB_85\info.exe" -WorkingDirectory "C:\QUIK_VTB_85\"
Start-Process -?