API Reference
Command
Set-CxFirewallRule
Enables or disables firewall rules by display name.
Examples
Example 1
Set-CxFirewallRule -Name "Allow-App" -Enabled $true
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
Set-CxFirewallRule -Name <string> -Enabled <bool> [<CommonParameters>]#Parameters
- Name string
- Name identifier for the target resource.
- Enabled bool
- Gets or sets the Enabled parameter.
Outputs
System.Boolean