Skip to content

Commit 3f363be

Browse files
author
Maddie Clayton
authored
Merge pull request Azure#8762 from alexandair/patch-3
Fix the examples and "Accept wildcard characters" property
2 parents 9c82232 + 5ce9751 commit 3f363be

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

src/Compute/Compute/help/Get-AzVM.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ Therefore, the command gets only the instance view properties.
166166

167167
### Example 3: Get properties for all virtual machines in a resource group
168168
```
169-
PS C:\> Get-AzVM -ResourceGroupName "TEST1"
169+
PS C:\> Get-AzVM -ResourceGroupName "ResourceGroup11"
170170
171-
ResourceGroupName Name Location VmSize OsType NIC
172-
----------------- ---- -------- ------ ------ ---
173-
TEST1 test1 eastus Standard_DS1_v2 Windows test1
174-
TEST1 test2 westus Standard_DS1_v2 Windows test2
175-
TEST1 test3 eastus Standard_DS1_v2 Windows test3
171+
ResourceGroupName Name Location VmSize OsType NIC
172+
----------------- ---- -------- ------ ------ ---
173+
ResourceGroup11 test1 eastus Standard_DS1_v2 Windows test1
174+
ResourceGroup11 test2 westus Standard_DS1_v2 Windows test2
175+
ResourceGroup11 test3 eastus Standard_DS1_v2 Windows test3
176176
```
177177

178178
This command gets properties for all the virtual machines in the resource group named ResourceGroup11.
@@ -181,13 +181,13 @@ This command gets properties for all the virtual machines in the resource group
181181
```
182182
PS C:\> Get-AzVM
183183
184-
ResourceGroupName Name Location VmSize OsType NIC
185-
----------------- ---- -------- ------ ------ ---
186-
TEST1 test1 eastus Standard_DS1_v2 Windows test1
187-
TEST1 test2 westus Standard_DS1_v2 Windows test2
188-
TEST1 test3 eastus Standard_DS1_v2 Windows test3
189-
TEST2 test4 westus Standard_DS1_v2 Windows test4
190-
TEST2 test5 eastus Standard_DS1_v2 Windows test5
184+
ResourceGroupName Name Location VmSize OsType NIC
185+
----------------- ---- -------- ------ ------ ---
186+
TEST1 test1 eastus Standard_DS1_v2 Windows test1
187+
TEST1 test2 westus Standard_DS1_v2 Windows test2
188+
TEST1 test3 eastus Standard_DS1_v2 Windows test3
189+
TEST2 test4 westus Standard_DS1_v2 Windows test4
190+
TEST2 test5 eastus Standard_DS1_v2 Windows test5
191191
```
192192

193193
This command gets all the virtual machines in your subscription.
@@ -196,10 +196,10 @@ This command gets all the virtual machines in your subscription.
196196
```
197197
PS C:\> Get-AzVM -Location "westus"
198198
199-
ResourceGroupName Name Location VmSize OsType NIC
200-
----------------- ---- -------- ------ ------ ---
201-
TEST1 test2 westus Standard_DS1_v2 Windows test2
202-
TEST2 test4 westus Standard_DS1_v2 Windows test4
199+
ResourceGroupName Name Location VmSize OsType NIC
200+
----------------- ---- -------- ------ ------ ---
201+
TEST1 test2 westus Standard_DS1_v2 Windows test2
202+
TEST2 test4 westus Standard_DS1_v2 Windows test4
203203
```
204204

205205
This command gets all the virtual machines in West US region.
@@ -208,13 +208,13 @@ This command gets all the virtual machines in West US region.
208208
```
209209
PS C:\> Get-AzVM -Name test*
210210
211-
ResourceGroupName Name Location VmSize OsType NIC
212-
----------------- ---- -------- ------ ------ ---
213-
TEST1 test1 eastus Standard_DS1_v2 Windows test1
214-
TEST1 test2 westus Standard_DS1_v2 Windows test2
215-
TEST1 test3 eastus Standard_DS1_v2 Windows test3
216-
TEST2 test4 westus Standard_DS1_v2 Windows test4
217-
TEST2 test5 eastus Standard_DS1_v2 Windows test5
211+
ResourceGroupName Name Location VmSize OsType NIC
212+
----------------- ---- -------- ------ ------ ---
213+
TEST1 test1 eastus Standard_DS1_v2 Windows test1
214+
TEST1 test2 westus Standard_DS1_v2 Windows test2
215+
TEST1 test3 eastus Standard_DS1_v2 Windows test3
216+
TEST2 test4 westus Standard_DS1_v2 Windows test4
217+
TEST2 test5 eastus Standard_DS1_v2 Windows test5
218218
```
219219

220220
This command gets all the virtual machines in your subscription that start with "test".
@@ -282,7 +282,7 @@ Required: False
282282
Position: 1
283283
Default value: None
284284
Accept pipeline input: True (ByPropertyName)
285-
Accept wildcard characters: False
285+
Accept wildcard characters: True
286286
```
287287
288288
```yaml
@@ -294,7 +294,7 @@ Required: True
294294
Position: 1
295295
Default value: None
296296
Accept pipeline input: True (ByPropertyName)
297-
Accept wildcard characters: False
297+
Accept wildcard characters: True
298298
```
299299
300300
### -NextLink
@@ -324,7 +324,7 @@ Required: False
324324
Position: 0
325325
Default value: None
326326
Accept pipeline input: True (ByPropertyName)
327-
Accept wildcard characters: False
327+
Accept wildcard characters: True
328328
```
329329
330330
```yaml
@@ -336,7 +336,7 @@ Required: True
336336
Position: 0
337337
Default value: None
338338
Accept pipeline input: True (ByPropertyName)
339-
Accept wildcard characters: False
339+
Accept wildcard characters: True
340340
```
341341
342342
### -Status

0 commit comments

Comments
 (0)