Firewall Status

Reports the current status of the Windows firewall.

Privileges

Elevated – Run as administrator

Input Parameters

None

Output Parameters

Name Type Description
Status String Reports the status of the Windows Firewall as either Enabled or Disabled.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.