I need to scan one command

Hi Team,

I need to run below command through BigFix. Please help me or guide me how to run. I have tried to run through cmd it was successfully run but while tried to run through BigFix got exit code 1 error.
C:>sfc /scannow

Hi,
Welcome to the forum
Please use the following command
wait cmd.exe /C sfc /scannow

Command started - wait cmd.exe /C sfc /scannow
Command succeeded (Exit Code=1) wait cmd.exe /C sfc /scannow
It’s not running

how you are executing the command using the Fixlet Debugger or as a BigFix action and encounter an exit code of 1, consider enabling logging to diagnose the issue. You can achieve this by incorporating a command similar to the following:

waithidden cmd.exe /C sfc /scannow >> C:\out.txt

1 Like