You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/data-lake-storage-directory-file-acl-powershell.md
+30-28Lines changed: 30 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,37 +54,36 @@ This article shows you how to use PowerShell to create and manage directories, f
54
54
55
55
## Connect to the account
56
56
57
-
1. Open a Windows PowerShell command window.
57
+
Open a Windows PowerShell command window, and then sign in to your Azure subscription with the `Connect-AzAccount` command and follow the on-screen directions.
58
58
59
-
2. Sign in to your Azure subscription with the `Connect-AzAccount` command and follow the on-screen directions.
60
-
61
-
```powershell
62
-
Connect-AzAccount
63
-
```
59
+
```powershell
60
+
Connect-AzAccount
61
+
```
64
62
65
-
3.If your identity is associated with more than one subscription, then set your active subscription to subscription of the storage account that you want create and manage directories in.
63
+
If your identity is associated with more than one subscription, then set your active subscription to subscription of the storage account that you want create and manage directories in. In this example, replace the `<subscription-id>` placeholder value with the ID of your subscription.
This example lists the contents of a directory named `my-directory` and includes ACLs in the list.
198
-
It also uses the `-Recurse` parameter to list the contents of all subdirectories.
194
+
This example doesn't return values for the `ACL`, `Permissions`, `Group`, and `Owner` properties. To obtain those values, use the `-FetchPermission` parameter.
199
195
200
-
To list the contents of a file system, omit the `-Path` parameter from the command.
196
+
The following example lists the contents of the same directory, but it also uses the `-FetchPermission` parameter to return values for the `ACL`, `Permissions`, `Group`, and `Owner` properties.
0 commit comments