@@ -166,13 +166,13 @@ Therefore, the command gets only the instance view properties.
166
166
167
167
### Example 3: Get properties for all virtual machines in a resource group
168
168
```
169
- PS C:\> Get-AzVM -ResourceGroupName "TEST1 "
169
+ PS C:\> Get-AzVM -ResourceGroupName "ResourceGroup11 "
170
170
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
176
176
```
177
177
178
178
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
181
181
```
182
182
PS C:\> Get-AzVM
183
183
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
191
191
```
192
192
193
193
This command gets all the virtual machines in your subscription.
@@ -196,10 +196,10 @@ This command gets all the virtual machines in your subscription.
196
196
```
197
197
PS C:\> Get-AzVM -Location "westus"
198
198
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
203
203
```
204
204
205
205
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.
208
208
```
209
209
PS C:\> Get-AzVM -Name test*
210
210
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
218
218
```
219
219
220
220
This command gets all the virtual machines in your subscription that start with "test".
@@ -282,7 +282,7 @@ Required: False
282
282
Position : 1
283
283
Default value : None
284
284
Accept pipeline input : True (ByPropertyName)
285
- Accept wildcard characters : False
285
+ Accept wildcard characters : True
286
286
` ` `
287
287
288
288
` ` ` yaml
@@ -294,7 +294,7 @@ Required: True
294
294
Position : 1
295
295
Default value : None
296
296
Accept pipeline input : True (ByPropertyName)
297
- Accept wildcard characters : False
297
+ Accept wildcard characters : True
298
298
` ` `
299
299
300
300
### -NextLink
@@ -324,7 +324,7 @@ Required: False
324
324
Position : 0
325
325
Default value : None
326
326
Accept pipeline input : True (ByPropertyName)
327
- Accept wildcard characters : False
327
+ Accept wildcard characters : True
328
328
` ` `
329
329
330
330
` ` ` yaml
@@ -336,7 +336,7 @@ Required: True
336
336
Position : 0
337
337
Default value : None
338
338
Accept pipeline input : True (ByPropertyName)
339
- Accept wildcard characters : False
339
+ Accept wildcard characters : True
340
340
` ` `
341
341
342
342
### -Status
0 commit comments