File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/Storage/Storage.Management Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 20
20
## Upcoming Release
21
21
* Change 2 parameters "-IndexDocument" and "-ErrorDocument404Path" from required to optional in cmdlet:
22
22
- Enable-AzStorageStaticWebsite
23
+ * Update help of Get-AzStorageBlobContent by add an example
23
24
* Show more error information when cmdlet failed with StorageException
24
25
* Support list or close file handles of a file share, file directory or a file
25
26
- Get-AzStorageFileHandle
Original file line number Diff line number Diff line change @@ -64,6 +64,14 @@ PS C:\>Get-AzStorageContainer container* | Get-AzStorageBlobContent -Blob "cbox.
64
64
65
65
This example uses the asterisk wildcard character and the pipeline to find and download blob content.
66
66
67
+ ### Example 4: Get a blob object and save it in a variable, then download blob content with the blob object
68
+ ```
69
+ PS C:\>$blob = Get-AzStorageBlob -Container containername -Blob blobname
70
+ PS C:\>Get-AzStorageBlobContent -CloudBlob $blob.ICloudBlob -Destination "C:\test"
71
+ ```
72
+
73
+ This example first get a blob object and save it in a variable, then download blob content with the blob object.
74
+
67
75
## PARAMETERS
68
76
69
77
### -AsJob
You can’t perform that action at this time.
0 commit comments