Asserts that the Windows firewall is configurable and writes an error if it isn't.
Assert-FirewallConfigurable [<CommonParameters>]
The Windows firewall can only be configured if it is running. This function checks test if it is running. If it isn't, it writes out an error and returns False
. If it is running, it returns True
.
Assert-FirewallConfigurable
Returns True
if the Windows firewall can be configured, False
if it can't.