CmdID / PowerShell / Cmdlets / Enable
Enable-NetFirewallHyperVRule
Enables 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 enable.-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 enabled.-DisplayNameSpecifies that only matching Hyper-V firewall rules of the indicated display name are enabled.-EnabledSpecifies that matching Hyper-V firewall rules of the indicated state are enabled.-EnforcementStatusSpecifies that firewall rules that match the indicated enforcement status are enabled.-Name, -IDSpecifies that only matching Hyper-V firewall rules of the indicated name are enabled.-PolicyStoreTargets the policy store from which to enable the rules.-PolicyStoreSourceTypeSpecifies that Hyper-V firewall rules that match the indicated policy store source type are enabled.-ProtocolSpecifies that only matching Hyper-V firewall rules with the indicated protocol are enabled.-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 enabled.