TestimoX

API Reference

Command

Set-CxFirewallRule

Namespace ComputerX.PowerShell
Outputs
System.Boolean

Enables or disables firewall rules by display name.

Examples

Authored help example

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 requiredposition: 0pipeline: false
Name identifier for the target resource.
Enabled bool requiredposition: 1pipeline: false
Gets or sets the Enabled parameter.

Outputs

System.Boolean