Runkbot with parameters in powershell
Hello,
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
Answers (1)
Please log in to answer
Posted by:
Squale76
6 years ago
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
Comments:
-
You can easily invoke powershell with the WindowStyle of hidden.
powershell.exe -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -file "FILENAME.ps1" - isudothings 6 years ago