Add Quiet Mode And Quiet Option#123
Conversation
|
Thanks for the PR and the input. I have been thinking about fundamentally revising the output and writing of reports/logs and will include a slient mode as a feature. It's already complicated at the moment and with your changes it will be even more complex. However, I would like to simplify output management. Stay tuned :) |
|
Hi ataumo I'm quite confused by the pull request. Are you meaning quiet instead of QuiteMode ? (Meaning you want the output to be more quiet or something). please do not introduce spelling errors in the syntax. |
|
in addition... You specify $Quite as a switch, meaning it is a boolean variable. Thus you should compare the variable with a boolean, not with an integer. |
Okay no problems :)
Yes sorry, it's a QuietMode. It was a big mistake
Yes but I'm looking for the exact opposite of the verbose properties. I want less outputs.
Fixed. |
Add
Quietmode to disable all output generated by the script and addQuietOptionto set it.The
QuietModecan be-
1: for a soft quiet mode (Only warnings and errors)-
2(default) : for a complet quiet modeExamples :
Invoke-HardeningKitty -Mode Audit -FileFindingList .\lists\finding_list_0x6d69636b_machine.csvInvoke-HardeningKitty -Mode Config -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv -SkipMachineInformation -Quiet -QuietOption 1