CmdID / PowerShell / Cmdlets / Get
Get-NetFirewallSetting
Retrieves the global firewall settings of the target computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-AllIndicates that all of the firewall settings within the specified policy store are retrieved.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-GPOSessionSpecifies the network GPO from which to retrieve the rules to be retrieved.-PolicyStoreSpecifies the policy store from which to retrieve the rules to be retrieved.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.