Skip to content

Commit d964efc

Browse files
authored
Update Get-AzStorageBlob Blob parameter definition
Existing definition of Blob parameter incorrectly states that it cannot take wildcard characters, but that any blobs matching the provided string will be returned. Actual behaviour I saw was the opposite - if wildcard charactes are provided they are used for string matching purposes, and if no wildcard characters exist in the given string, only blobs with a name matching the given string exactly are returned. I have a couple screenshots showing this behaviour if they are desired.
1 parent 4d6616e commit d964efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The final command uses the **Echo** command to display the total.
9393
### -Blob
9494
Specifies a name or name pattern, which can be used for a wildcard search.
9595
If no blob name is specified, the cmdlet lists all the blobs in the specified container.
96-
If a value is specified for this parameter, the cmdlet lists all blobs with names that match this parameter.
96+
If a value is specified for this parameter, the cmdlet lists all blobs with names that match this parameter. This parameter supports wildcards anywhere in the string.
9797

9898
```yaml
9999
Type: System.String
@@ -104,7 +104,7 @@ Required: False
104104
Position: 0
105105
Default value: None
106106
Accept pipeline input: False
107-
Accept wildcard characters: False
107+
Accept wildcard characters: True
108108
```
109109
110110
### -ClientTimeoutPerRequest

0 commit comments

Comments
 (0)