CmdID / PowerShell / Cmdlets / Set
Set-NetFirewallHyperVVMSetting
Configures Hyper-V firewall per-VM settings on the target computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DefaultInboundActionSpecifies how to filter inbound traffic that does not match any Hyper-V firewall rules.-DefaultOutboundActionSpecifies how to filter outbound traffic that does not match any Hyper-V firewall rules.-EnabledDetermines whether or not the Hyper-V firewall is active and enforced.-LoopbackEnabledDetermines whether or not guest-host loopback traffic is allowed.-AllowHostPolicyMergeSpecifies that the host firewall policy should be merged into the effective policy.-Name, -VMCreatorIdSpecifies that the settings are applicable only to the Hyper-V firewall VM creator with the matching Id.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.