Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The input ACL will replace original ACL completely.

## EXAMPLES

### Example 1: Set ACL recursively on a directiry
### Example 1: Set ACL recursively on a directory
```
PS C:\>$acl = New-AzDataLakeGen2ItemAclObject -AccessControlType user -Permission rwx
PS C:\>$acl = New-AzDataLakeGen2ItemAclObject -AccessControlType group -Permission rw- -InputObject $acl
Expand All @@ -41,7 +41,7 @@ ContinuationToken :

This command first creates an ACL object with 3 acl entries, then sets ACL recursively on a directory.

### Example 2: Set ACL recursively on a root directiry of filesystem
### Example 2: Set ACL recursively on a root directory of filesystem
```
PS C:\> $result = Set-AzDataLakeGen2AclRecursive -FileSystem "filesystem1" -Acl $acl -Context $ctx

Expand Down