CmdID / PowerShell / Cmdlets / Get
Get-NetFirewallHyperVRule
Retrieves Hyper-V firewall rules from the target computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 13 parameters Its page in the reference
Parameters
-ActionSpecifies that matching Hyper-V firewall rules of the indicated action are retrieved.-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DirectionSpecifies that matching Hyper-V firewall rules of the indicated direction are retrieved.-DisplayNameSpecifies that only matching Hyper-V firewall rules of the indicated display name are retrieved.-EnabledSpecifies that matching Hyper-V firewall rules of the indicated state are retrieved.-EnforcementStatusSpecifies that firewall rules that match the indicated enforcement status are retrieved.-Name, -IDSpecifies that only matching Hyper-V firewall rules of the indicated name are retrieved.-PolicyStoreTargets the policy store from which to retrieve the rules.-PolicyStoreSourceTypeSpecifies that Hyper-V firewall rules that match the indicated policy store source type are retrieved.-ProtocolSpecifies that only matching Hyper-V firewall rules with the indicated protocol are retrieved.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-VMCreatorIdSpecifies that only matching Hyper-V firewall rules with the specified VMCreatorId are retrieved.