CmdID / PowerShell / Cmdlets / Set
Set-NetFirewallHyperVRule
Modifies existing Hyper-V firewall rules. Windows Server PowerShell reference
From the Windows Server PowerShell reference 19 parameters Its page in the reference
Parameters
Show its 19 parameters
-ActionUpdates the Action value for the matching Hyper-V firewall rules.-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.-DirectionUpdates the Direction value for the matching Hyper-V firewall rules.-DisplayNameSpecifies that only matching Hyper-V firewall rules of the indicated display name are updated.-EnabledUpdates the Enabled value of the matching Hyper-V firewall rules.-LocalAddressesUpdates the LocalAddresses value for the matching Hyper-V firewall rules.-LocalPortsUpdates the LocalPorts value for the matching Hyper-V firewall rules.-Name, -IDSpecifies that only matching Hyper-V firewall rules of the indicated name are updated.-NewDisplayNameUpdates the DisplayName of the matching Hyper-V firewall rules.-ProtocolUpdates the protocol value of the matching Hyper-V firewall rules.-RemoteAddressesUpdates the RemoteAddresses value of the matching Hyper-V firewall rules.-RemotePortsUpdates the RemotePorts value of the matching Hyper-V firewall rules.-RulePriorityUpdates the RulePriority value of the matching Hyper-V firewall rules.-VMCreatorIdUpdates the VMCreatorId value of the matching Hyper-V firewall rules.-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.