This post will help you to check your local Windows Firewall status using PowerShell (whether it’s off or on for each Profile).
PowerShell commands follow standards and use verb-noun pairs for cmdlets. The verb at the start of the command describes the action the cmdlet performs, and the noun part is the action being performed. Here’s a list of Common Verbs, another Microsoft Docs link. The place of truth as I call it.
# get local firewall status powershell Get-NetFirewallProfile | Format-Table Name, Enabled
The Windows Firewall on this machine is enabled, for all Profiles <- have a look at this MS Docs link to know more about Windows Firewall Profiles.