Closed rafalfitt closed 1 year ago
Could you provide more information: Should the Strict-Mode set in the HardeningKitty module? Or is this an appendix for the hardening list? If so, what is the security/hardening benefit? Is there a group policy to set Strict-Mode?
it is a Powershell command, so it is for the HardeningKitty module.
Set-Strictmode is irrelevant in a release as this should only be use during the coding process and disabled in the production version. Set-Strictmode only help getting more explicit error messages when developing.
Thanks @An78toi13ne06 for the clarification. I ran HardeningKitty with Set-Strictmode on without any errors and will use it for new versions.
Thank you @0x6d69636b :-) Please keep it in both versions, released or not.
Set-StrictMode -Version Latest
more info: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-7.2