TestimoX

API Reference

Command

Set-CxAuditResourceSacl

Namespace ComputerX.PowerShell
Inputs
System.String

Sets Global Object Access Auditing SACL (File or Registry) from SDDL.

Examples

Authored help example

Example 1


Set-CxAuditResourceSacl -Type File -Sddl "D:(A;;FA;;;WD)S:(AU;SAFA;GA;;;WD)"
        

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-CxAuditResourceSacl -Type <File|Registry> -Sddl <string> [-ComputerName <string>] [<CommonParameters>]
#

Parameters

Type SaclType requiredposition: 0pipeline: falsevalues: 2
Gets or sets the Type parameter. Possible values: File, Registry
Possible values: File, Registry
Sddl string requiredposition: 1pipeline: false
Gets or sets the Sddl parameter.
ComputerName string optionalposition: 2pipeline: true (ByPropertyName)
Target computer(s). Use '.' for local computer or provide DNS names.