TestimoX

API Reference

Command

Get-CxFirewallLogging

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.Firewall.FirewallLoggingPolicy

Gets Windows Firewall logging settings per profile.

Examples

Authored help example

Example 1


Get-CxFirewallLogging -Profile Domain,Private,Public
        

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

Get-CxFirewallLogging [-ComputerName <string>] -Profile <Domain|Private|Public|All> [<CommonParameters>]
#

Parameters

ComputerName string optionalposition: 0pipeline: true (ByPropertyName)
Target computer(s). Use '.' for local computer or provide DNS names.
Profile FirewallProfileKind[] requiredposition: 1pipeline: falsevalues: 4
Firewall profile(s) to query (Domain, Private, Public). Possible values: Domain, Private, Public, All
Possible values: Domain, Private, Public, All

Outputs

ComputerX.Firewall.FirewallLoggingPolicy