Skip to content

Commit 6ded162

Browse files
authored
Add new examples to DataLakeStore (#12793)
- Add new examples to the following modules: DataLakeStore
1 parent 8f1abc1 commit 6ded162

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

src/DataLakeStore/DataLakeStore/help/Set-AzDataLakeStoreAccount.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,21 @@ The **Set-AzDataLakeStoreAccount** cmdlet modifies a Data Lake Store account.
2626
## EXAMPLES
2727

2828
### Example 1: Add a tag to an account
29-
```
29+
```powershell
3030
PS C:\>Set-AzDataLakeStoreAccount -Name "ContosoADL" -Tags @{"stage"="production"}
3131
```
3232

3333
This command adds the specified tag to the Data Lake Store account named ContosoADL.
3434

35+
### Example 2
36+
37+
Modifies a Data Lake Store account. (autogenerated)
38+
39+
<!-- Aladdin Generated Example -->
40+
```powershell
41+
Set-AzDataLakeStoreAccount -FirewallState Enabled -Name 'ContosoADL'
42+
```
43+
3544
## PARAMETERS
3645

3746
### -AllowAzureIpState

src/DataLakeStore/DataLakeStore/help/Test-AzDataLakeStoreItem.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,21 @@ The **Test-AzDataLakeStoreItem** cmdlet tests the existence of a file or folder
2424
## EXAMPLES
2525

2626
### Example 1: Test a file
27-
```
27+
```powershell
2828
PS C:\>Test-AzDataLakeStoreItem -AccountName "ContosoADL" -Path "/MyFiles/Test.csv"
2929
```
3030

3131
This command tests whether the file Test.csv exists in the ContosoADL account.
3232

33+
### Example 2
34+
35+
Tests the existence of a file or folder in Data Lake Store. (autogenerated)
36+
37+
<!-- Aladdin Generated Example -->
38+
```powershell
39+
Test-AzDataLakeStoreItem -Account 'ContosoADL' -Path '/MyFiles/Test.csv' -PathType Any
40+
```
41+
3342
## PARAMETERS
3443

3544
### -Account

0 commit comments

Comments
 (0)