08/28/2018 565 views

what is the translation of this command line in powershell ?

START "" /D "C:\Program Files (x86)\Quest\KACE\"  /WAIT /MIN runkbot.exe 216 0

Thank you
0 Comments   [ + ] Show comments


All Answers

With this command in powershell it's ok but i want to hide the execution window

$runkbot = "C:\Program Files (x86)\Quest\KACE\runkbot.exe"
$runkbotptions = @('216','0')
& $runkbot $runkbotptions
Answered 08/28/2018 by: Squale76
White Belt

  • You can easily invoke powershell with the WindowStyle of hidden.

    powershell.exe -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -file "FILENAME.ps1"