Returns the security descriptor for a given resource in the SSDL format.
Syntax:
Get-QResourceSecurity [-ResourceUri] <String> [-ResType] <String> [-DomainDNSName] <String> [[-NoSACL] [<SwitchParameter>]] [[-NoDACL] [<SwitchParameter>]] [[-NoOwner] [<SwitchParameter>]] [[-NoGroup] [<SwitchParameter>]] [<CommonParameters>]
| Parameter | Description |
|---|---|
| ResourceUri | Specify the path to the resource for which you want the security descriptor. |
| ResType |
Specify the type of resource in question:
|
| DomainDNSName | Specify the DNS domain name of the domain where the managed host with the resource in question resides. |
| NoSACL |
(Optional) Specify this parameter if you do not want to return the SACL information in the SDDL. If this parameter is not specified, the SACL information will be included. |
| NoDACL |
(Optional) Specify this parameter if you do not want to return the DACL information in the SDDL. If this parameter is not specified, the DACL information will be included. |
| NoOwner |
(Optional) specify this parameter if you do not want to return the Owner information in the SDDL. If this parameter is not specified, the owner information will be included. |
| NoGroup |
(Optional) Specify this parameter if you do not want to return the group information in the SDDL. If this parameter is not specified, the group information will be included. |
Examples:
| Example | Description |
|---|---|
|
Get-QResourceSecurity -ResourceUri "\\QAMAUTOMem1\c$\autoroot\test_folder" -ResType Folders -DomainDNSName QAMAUTO.QC.HAL.CA.QSFT |
Returns the security descriptor for the specified resource on QAMAUTOMem1 in the specified domain. |