TestimoX

API Reference

Command

Get-CxFilePermissions

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.Acl.FileAclDescriptor

Gets file or directory permissions (owner, DACL) as a typed descriptor.

Examples

Authored help example

Example 1


Get-CxFilePermissions -Path 'C:\\Windows\\Temp' | Format-List *
        

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-CxFilePermissions -Path <string> [<CommonParameters>]
#

Parameters

Path string requiredposition: 0pipeline: true (ByValue, ByPropertyName)
File system path to the target resource.

Outputs

ComputerX.Acl.FileAclDescriptor