API Reference
Command
Get-CxFilePermissions
Gets file or directory permissions (owner, DACL) as a typed descriptor.
Examples
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
- File system path to the target resource.
Outputs
ComputerX.Acl.FileAclDescriptor