0x6d69636b / windows_hardening

HardeningKitty and Windows Hardening Settings
MIT License
2.35k stars 313 forks source link

Invocation failure in results check #151

Closed MrZuerrer closed 1 year ago

MrZuerrer commented 1 year ago

I downloaded the most current version of HardeningKitty today. I invoked HardeningKitty with the following command: "Invoke-HardeningKitty -Mode Audit -EmojiSupport -Report -Log -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv -SkipMachineInformation" I received the following error message 3 times in total.

Method invocation failed because [Microsoft.Dism.Commands.FeatureState] does not contain a method named 'Contains'. At C:\Temp\COMPUTER\HardeningKitty\0.9.1\HardeningKitty.psm1:1459 char:38

I am happy to provide more information if required for debugging. Thanks for a great tool and your support in keeping it sharp! Peter

0x6d69636b commented 1 year ago

Thanks! Should be fixed in the latest version :crossed_fingers:

MrZuerrer commented 1 year ago

I just re-ran the updated code. The error is gone. Thanks a lot for the quick fix!