There are 2 ways to run an executable within powershell without any errors
$exe = 'C:\scripts\Everything.exe'
$param1 = '-reindex'
& $exe $param1
Or with a –% attribute
C:\windows\system32\sc.exe --% qc bits
By: Thomas Faddegon
There are 2 ways to run an executable within powershell without any errors
$exe = 'C:\scripts\Everything.exe'
$param1 = '-reindex'
& $exe $param1
Or with a –% attribute
C:\windows\system32\sc.exe --% qc bits