1f229f09-4c15-4bfe-b9f7-ed63d03cd70e
This script will check if the firewall is on. It's a best practice to have the firewall ON and required for most compliance requirements including PCI-DSS, ISO 27001, NIST, SANS, NERC-CIP and others.
Guide on enabling the Windows Firewall: https://support.microsoft.com/en-us/help/4028544/windows-10-turn-windows-defender-firewall-on-or-off
Stig Server: 2016 - https://www.stigviewer.com/stig/windows_server_2016/2019-01-16/finding/V-73279
2019 - https://www.stigviewer.com/stig/windows_server_2019/2020-06-15/finding/V-93571
Stig Desktop: https://www.stigviewer.com/stig/windows_10/2016-06-24/finding/V-63403