API Reference
Command
Remove-CxFirewallRule
Removes a Windows Firewall rule by display name.
Examples
Example 1: Removes a locally defined firewall rule used during a temporary troubleshooting window.
PS>
Remove-CxFirewallRule -Name 'Allow WinRM 5985 (Temporary)'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Remove-CxFirewallRule -Name <string> [<CommonParameters>]#Parameters
- Name string
- Name of the firewall rule to remove.