Scripting Question

Runkbot with parameters in powershell

08/28/2018 1006 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"

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ