Skip to content

Commit 6f8065a

Browse files
Update Restore-AzDataLakeStoreDeletedItem examples (Azure#16834)
1 parent 7d9034c commit 6f8065a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/DataLakeStore/DataLakeStore/help/Restore-AzDataLakeStoreDeletedItem.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,20 @@ If your ADL account is not whitelisted, then using this api will throw Not imple
3737
### Example 1: Restore a file from the Data Lake Store using -force option
3838
```
3939
PS > Restore-AzDataLakeStoreDeletedItem -Account ml1ptrashtest -Path 927e8fb1-a287-4353-b50e-3b4a39ae4088 -Destination adl://ml1ptrashtest.azuredatalake.com/test0/file_1230 -Type "file" -Force
40-
PS >
40+
```
41+
This command restores a file from the Data Lake Store using -force option
4142

4243
### Example 2: Restore a file from Data Lake Store using user confirmation
43-
44-
PS > restore-azdatalakestoredeleteditem -account ml1ptrashtest -path 927e8fb1-a287-4353-b50e-3b4a39ae4088 -destination adl://ml1ptrashtest.azuredatalake.com/test4/file_1115 -type file
44+
```
45+
PS > Restore-azdatalakestoredeleteditem -Account ml1ptrashtest -Path 927e8fb1-a287-4353-b50e-3b4a39ae4088 -Destination adl://ml1ptrashtest.azuredatalake.com/test4/file_1115 -Type file
4546
4647
Restore user data ?
4748
From - 927e8fb1-a287-4353-b50e-3b4a39ae4088
4849
To - adl://ml1ptrashtest.azuredatalake.com/test4/file_1115
4950
Type - file
5051
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
51-
PS >
5252
```
53+
This command restores a file from Data Lake Store using user confirmation
5354

5455
## PARAMETERS
5556

0 commit comments

Comments
 (0)