CmdID

CmdID / PowerShell / Cmdlets / New

New-NetFirewallHyperVRule

Creates a new inbound or outbound Hyper-V firewall rule and adds the rule to the target computer. Windows Server PowerShell reference

From the Windows Server PowerShell reference 18 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

18 in the Windows Server PowerShell reference
Show its 18 parameters
-ActionSpecifies that matching Hyper-V firewall rules of the indicated action are created.
-AsJobRuns the cmdlet as a background job.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DirectionSpecifies that matching Hyper-V firewall rules of the indicated direction are created.
-DisplayNameSpecifies that only matching Hyper-V firewall rules of the indicated display name are created.
-EnabledSpecifies that matching Hyper-V firewall rules of the indicated state are created.
-LocalAddressesSpecifies that network packets with matching IP addresses match this rule.
-LocalPortsSpecifies that network packets with matching IP local port numbers match this rule.
-Name, -IDSpecifies that only matching Hyper-V firewall rules of the indicated name are created.
-ProtocolSpecifies that network packets with matching IP protocol match this rule.
-RemoteAddressesSpecifies that network packets with matching IP addresses match this rule.
-RemotePortsSpecifies that network packets with matching IP port numbers match this rule.
-RulePrioritySpecifies the order in which rules are evaluated.
-VMCreatorIdSpecifies that network packets originating from a VM matching this VMCreatorId matches this rule.
-ProfilesSpecifies one or more profiles to which the hyper-v firewall rule is assigned.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.