Skip to content

Commit 4b0c96d

Browse files
authored
Merge pull request Azure#8751 from wastoresh/patch-1
Get-AzStorageFileContent documentation for Context parameter is wrong
2 parents e3a14e3 + ba491d0 commit 4b0c96d

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

src/Storage/Storage.Management/help/Get-AzStorageFileContent.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ This example downloads the files under sample file share
6868
## PARAMETERS
6969

7070
### -CheckMd5
71-
If you specify the path of a file that does not exist, this cmdlet creates that file, and saves the contents in the new file.
72-
If you specify a path of a file that already exists and you specify the *Force* parameter, the cmdlet overwrites the file.
73-
If you specify a path of an existing file and you do not specify *Force*, the cmdlet prompts you before it continues.
74-
If you specify the path of a folder, this cmdlet attempts to create a file that has the name of the Azure storage file.
71+
Specifies whether to check the Md5 sum for the downloaded file.
7572

7673
```yaml
7774
Type: System.Management.Automation.SwitchParameter
@@ -86,10 +83,7 @@ Accept wildcard characters: False
8683
```
8784
8885
### -ClientTimeoutPerRequest
89-
If you specify the path of a file that does not exist, this cmdlet creates that file, and saves the contents in the new file.
90-
If you specify a path of a file that already exists and you specify the *Force* parameter, the cmdlet overwrites the file.
91-
If you specify a path of an existing file and you do not specify *Force*, the cmdlet prompts you before it continues.
92-
If you specify the path of a folder, this cmdlet attempts to create a file that has the name of the Azure storage file.
86+
Specifies the client-side time-out interval, in seconds, for one service request. If the previous call fails in the specified interval, this cmdlet retries the request. If this cmdlet does not receive a successful response before the interval elapses, this cmdlet returns an error.
9387
9488
```yaml
9589
Type: System.Nullable`1[System.Int32]
@@ -104,10 +98,7 @@ Accept wildcard characters: False
10498
```
10599
106100
### -ConcurrentTaskCount
107-
If you specify the path of a file that does not exist, this cmdlet creates that file, and saves the contents in the new file.
108-
If you specify a path of a file that already exists and you specify the *Force* parameter, the cmdlet overwrites the file.
109-
If you specify a path of an existing file and you do not specify *Force*, the cmdlet prompts you before it continues.
110-
If you specify the path of a folder, this cmdlet attempts to create a file that has the name of the Azure storage file.
101+
Specifies the maximum concurrent network calls. You can use this parameter to limit the concurrency to throttle local CPU and bandwidth usage by specifying the maximum number of concurrent network calls. The specified value is an absolute count and is not multiplied by the core count. This parameter can help reduce network connection problems in low bandwidth environments, such as 100 kilobits per second. The default value is 10.
111102
112103
```yaml
113104
Type: System.Nullable`1[System.Int32]
@@ -122,10 +113,7 @@ Accept wildcard characters: False
122113
```
123114
124115
### -Context
125-
If you specify the path of a file that does not exist, this cmdlet creates that file, and saves the contents in the new file.
126-
If you specify a path of a file that already exists and you specify the *Force* parameter, the cmdlet overwrites the file.
127-
If you specify a path of an existing file and you do not specify *Force*, the cmdlet prompts you before it continues.
128-
If you specify the path of a folder, this cmdlet attempts to create a file that has the name of the Azure storage file.
116+
Specifies an Azure Storage context. To obtain a context, use the New-AzStorageContext cmdlet.
129117
130118
```yaml
131119
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
@@ -228,10 +216,7 @@ Accept wildcard characters: False
228216
```
229217
230218
### -PassThru
231-
If you specify the path of a file that does not exist, this cmdlet creates that file, and saves the contents in the new file.
232-
If you specify a path of a file that already exists and you specify the *Force* parameter, the cmdlet overwrites the file.
233-
If you specify a path of an existing file and you do not specify *Force*, the cmdlet prompts you before it continues.
234-
If you specify the path of a folder, this cmdlet attempts to create a file that has the name of the Azure storage file.
219+
Indicates that this cmdlet returns the **AzureStorageFile** object that it downloads.
235220
236221
```yaml
237222
Type: System.Management.Automation.SwitchParameter
@@ -263,10 +248,7 @@ Accept wildcard characters: False
263248
```
264249
265250
### -ServerTimeoutPerRequest
266-
If you specify the path of a file that does not exist, this cmdlet creates that file, and saves the contents in the new file.
267-
If you specify a path of a file that already exists and you specify the *Force* parameter, the cmdlet overwrites the file.
268-
If you specify a path of an existing file and you do not specify *Force*, the cmdlet prompts you before it continues.
269-
If you specify the path of a folder, this cmdlet attempts to create a file that has the name of the Azure storage file.
251+
Specifies the service side time-out interval, in seconds, for a request. If the specified interval elapses before the service processes the request, the storage service returns an error.
270252
271253
```yaml
272254
Type: System.Nullable`1[System.Int32]

0 commit comments

Comments
 (0)