CmdID / PowerShell / Cmdlets / Disable
Disable-NetFirewallHyperVRule
Disables one or more Hyper-V firewall rules that match the specified criteria. 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 disabled.-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 disabled.-DisplayNameSpecifies that only matching Hyper-V firewall rules of the indicated display name are disabled.-EnabledSpecifies that matching Hyper-V firewall rules of the indicated state are disabled.-EnforcementStatusSpecifies that firewall rules that match the indicated enforcement status are disabled.-Name, -IDSpecifies that only matching Hyper-V firewall rules of the indicated name are disabled.-PolicyStoreTargets the policy store from which to disable the rules.-PolicyStoreSourceTypeSpecifies that Hyper-V firewall rules that match the indicated policy store source type are disabled.-ProtocolSpecifies that only matching Hyper-V firewall rules with the indicated Protocol are disabled.-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 disabled.