File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ The **Set-AzureRmDataLakeStoreItemAcl** cmdlet modifies the access control list
26
26
27
27
### Example 1: Set the ACL for a file and a folder
28
28
```
29
- PS C:\>$ACL = Get-AzureRmDataLakeStoreItemAcl -AccountName "ContosoADL" -Path /
29
+ PS C:\>$ACL = Get-AzureRmDataLakeStoreItemAclEntry -AccountName "ContosoADL" -Path /
30
30
PS C:\> Set-AzureRmDataLakeStoreItemAcl -AccountName "ContosoADL" -Path "/MyFiles/Test.txt" -Acl $ACL
31
31
```
32
32
@@ -35,7 +35,7 @@ The second command sets the ACL for the file Test.txt to the one in $ACL.
35
35
36
36
### Example 2: Set the ACL for folder recursively
37
37
```
38
- PS C:\>$ACL = Get-AzureRmDataLakeStoreItemAcl -AccountName "ContosoADL" -Path /Folder1
38
+ PS C:\>$ACL = Get-AzureRmDataLakeStoreItemAclEntry -AccountName "ContosoADL" -Path /Folder1
39
39
PS C:\> Set-AzureRmDataLakeStoreItemAcl -AccountName "ContosoADL" -Path "/Folder2" -Acl $ACL -Recurse -Concurrency 128
40
40
```
41
41
You can’t perform that action at this time.
0 commit comments