< Back
Copy-Acl
Post
NAME Copy-Acl
SYNOPSIS
Checks ACL Entries to Objects.
SYNTAX
Copy-Acl [-Path] <String[]> [-Principal] <Object> [-DestinationPrincipal] <Object> [<CommonParameters>]
DESCRIPTION
Used to simplify checking ACL settings. Allows for more natural syntax
PARAMETERS
-Path <String[]>
Changes the security descriptor of the specified item.
Enter the path to an item, such as a path to a file or registry key.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Principal <Object>
The user/group principal to be used as master set.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DestinationPrincipal <Object>
The user/group principal to be coped to.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Copy-Acl -Path "c:\\temp" -Principal "User1" -DestinationPrincipal "User2"
Copy Folder ACL by username
RELATED LINKS
SYNOPSIS
Checks ACL Entries to Objects.
SYNTAX
Copy-Acl [-Path] <String[]> [-Principal] <Object> [-DestinationPrincipal] <Object> [<CommonParameters>]
DESCRIPTION
Used to simplify checking ACL settings. Allows for more natural syntax
PARAMETERS
-Path <String[]>
Changes the security descriptor of the specified item.
Enter the path to an item, such as a path to a file or registry key.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Principal <Object>
The user/group principal to be used as master set.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DestinationPrincipal <Object>
The user/group principal to be coped to.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Copy-Acl -Path "c:\\temp" -Principal "User1" -DestinationPrincipal "User2"
Copy Folder ACL by username
RELATED LINKS