TestimoX

API Reference

Command

Get-CxSecurityOption

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.SecurityPolicy.SecurityOptionsState

Gets CIS-relevant Local Security Options (registry-backed).

Examples

Authored help example

Example 1


Get-CxSecurityOption
        

Example 2


Get-CxSecurityOption -ComputerName SERVER01
        

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-CxSecurityOption [-ComputerName <string>] [<CommonParameters>]
#

Parameters

ComputerName string optionalposition: 0pipeline: true (ByPropertyName)
Target computer(s). Use '.' for local computer or provide DNS names.

Outputs

ComputerX.SecurityPolicy.SecurityOptionsState