@@ -15,7 +15,7 @@ Adds a custom script extension to a virtual machine.
15
15
16
16
### ByNameWithContainerAndFileNamesParameterSet (Default)
17
17
```
18
- Set-AzVMCustomScriptExtension [-ResourceGroupName] <String> -VMName <String> [-Name] <String>
18
+ Set-AzVMCustomScriptExtension [-ResourceGroupName] <String> -VMName <String> [[ -Name] <String>]
19
19
-ContainerName <String> -FileName <String[]> [-StorageAccountName <String>] [-StorageEndpointSuffix <String>]
20
20
[-StorageAccountKey <String>] [-Run <String>] [-Argument <String>] [-SecureExecution]
21
21
[-TypeHandlerVersion <String>] [-Location <String>] [-DisableAutoUpgradeMinorVersion] [-ForceRerun <String>]
@@ -24,7 +24,7 @@ Set-AzVMCustomScriptExtension [-ResourceGroupName] <String> -VMName <String> [-N
24
24
25
25
### ByNameWithFileUriParameterSet
26
26
```
27
- Set-AzVMCustomScriptExtension [-ResourceGroupName] <String> -VMName <String> [-Name] <String>
27
+ Set-AzVMCustomScriptExtension [-ResourceGroupName] <String> -VMName <String> [[ -Name] <String>]
28
28
[-FileUri <String[]>] [-Run <String>] [-Argument <String>] [-SecureExecution] [-TypeHandlerVersion <String>]
29
29
[-Location <String>] [-DisableAutoUpgradeMinorVersion] [-ForceRerun <String>]
30
30
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
@@ -107,7 +107,7 @@ Aliases:
107
107
Required : False
108
108
Position : Named
109
109
Default value : None
110
- Accept pipeline input : False
110
+ Accept pipeline input : True (ByPropertyName)
111
111
Accept wildcard characters : False
112
112
` ` `
113
113
@@ -116,13 +116,25 @@ Specifies the name of the Azure storage container where this cmdlet stores the s
116
116
117
117
` ` ` yaml
118
118
Type : System.String
119
- Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
119
+ Parameter Sets : ByNameWithContainerAndFileNamesParameterSet
120
120
Aliases :
121
121
122
122
Required : True
123
123
Position : Named
124
124
Default value : None
125
- Accept pipeline input : False
125
+ Accept pipeline input : True (ByPropertyName)
126
+ Accept wildcard characters : False
127
+ ` ` `
128
+
129
+ ` ` ` yaml
130
+ Type : System.String
131
+ Parameter Sets : ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
132
+ Aliases :
133
+
134
+ Required : True
135
+ Position : Named
136
+ Default value : None
137
+ Accept pipeline input : True (ByPropertyName)
126
138
Accept wildcard characters : False
127
139
` ` `
128
140
@@ -160,13 +172,25 @@ value is case-senstive. File names of files stored in Azure File storage are not
160
172
161
173
` ` ` yaml
162
174
Type : System.String[]
163
- Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
175
+ Parameter Sets : ByNameWithContainerAndFileNamesParameterSet
164
176
Aliases :
165
177
166
178
Required : True
167
179
Position : Named
168
180
Default value : None
169
- Accept pipeline input : False
181
+ Accept pipeline input : True (ByPropertyName)
182
+ Accept wildcard characters : False
183
+ ` ` `
184
+
185
+ ` ` ` yaml
186
+ Type : System.String[]
187
+ Parameter Sets : ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
188
+ Aliases :
189
+
190
+ Required : True
191
+ Position : Named
192
+ Default value : None
193
+ Accept pipeline input : True (ByPropertyName)
170
194
Accept wildcard characters : False
171
195
` ` `
172
196
@@ -175,13 +199,25 @@ Specifies the URI of the script file.
175
199
176
200
` ` ` yaml
177
201
Type : System.String[]
178
- Parameter Sets : ByNameWithFileUriParameterSet, ByParentObjectWithFileUriParameterSet, ByResourceIdWithFileUriParameterSet, ByInputObjectWithFileUriParameterSet
202
+ Parameter Sets : ByNameWithFileUriParameterSet
179
203
Aliases :
180
204
181
205
Required : False
182
206
Position : Named
183
207
Default value : None
184
- Accept pipeline input : False
208
+ Accept pipeline input : True (ByPropertyName)
209
+ Accept wildcard characters : False
210
+ ` ` `
211
+
212
+ ` ` ` yaml
213
+ Type : System.String[]
214
+ Parameter Sets : ByParentObjectWithFileUriParameterSet, ByResourceIdWithFileUriParameterSet, ByInputObjectWithFileUriParameterSet
215
+ Aliases :
216
+
217
+ Required : False
218
+ Position : Named
219
+ Default value : None
220
+ Accept pipeline input : True (ByPropertyName)
185
221
Accept wildcard characters : False
186
222
` ` `
187
223
@@ -237,13 +273,25 @@ Specifies the name of the custom script extension.
237
273
238
274
` ` ` yaml
239
275
Type : System.String
240
- Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByNameWithFileUriParameterSet, ByParentObjectWithContainerAndFileNamesParameterSet, ByParentObjectWithFileUriParameterSet
276
+ Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByNameWithFileUriParameterSet
277
+ Aliases : ExtensionName
278
+
279
+ Required : False
280
+ Position : 1
281
+ Default value : None
282
+ Accept pipeline input : True (ByPropertyName)
283
+ Accept wildcard characters : False
284
+ ` ` `
285
+
286
+ ` ` ` yaml
287
+ Type : System.String
288
+ Parameter Sets : ByParentObjectWithContainerAndFileNamesParameterSet, ByParentObjectWithFileUriParameterSet
241
289
Aliases : ExtensionName
242
290
243
291
Required : True
244
292
Position : 1
245
293
Default value : None
246
- Accept pipeline input : False
294
+ Accept pipeline input : True (ByPropertyName)
247
295
Accept wildcard characters : False
248
296
` ` `
249
297
@@ -258,7 +306,7 @@ Aliases:
258
306
Required : True
259
307
Position : 0
260
308
Default value : None
261
- Accept pipeline input : False
309
+ Accept pipeline input : True (ByPropertyName)
262
310
Accept wildcard characters : False
263
311
` ` `
264
312
@@ -288,7 +336,7 @@ Aliases: RunFile, Command
288
336
Required : False
289
337
Position : Named
290
338
Default value : None
291
- Accept pipeline input : False
339
+ Accept pipeline input : True (ByPropertyName)
292
340
Accept wildcard characters : False
293
341
` ` `
294
342
@@ -304,7 +352,7 @@ Aliases:
304
352
Required : False
305
353
Position : Named
306
354
Default value : None
307
- Accept pipeline input : False
355
+ Accept pipeline input : True (ByPropertyName)
308
356
Accept wildcard characters : False
309
357
` ` `
310
358
@@ -313,13 +361,25 @@ Specifies the key for the Azure storage container.
313
361
314
362
` ` ` yaml
315
363
Type : System.String
316
- Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
364
+ Parameter Sets : ByNameWithContainerAndFileNamesParameterSet
317
365
Aliases :
318
366
319
367
Required : False
320
368
Position : Named
321
369
Default value : None
322
- Accept pipeline input : False
370
+ Accept pipeline input : True (ByPropertyName)
371
+ Accept wildcard characters : False
372
+ ` ` `
373
+
374
+ ` ` ` yaml
375
+ Type : System.String
376
+ Parameter Sets : ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
377
+ Aliases :
378
+
379
+ Required : False
380
+ Position : Named
381
+ Default value : None
382
+ Accept pipeline input : True (ByPropertyName)
323
383
Accept wildcard characters : False
324
384
` ` `
325
385
@@ -328,13 +388,25 @@ Specifies the name of the Azure storage account where this cmdlet stores the scr
328
388
329
389
` ` ` yaml
330
390
Type : System.String
331
- Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
391
+ Parameter Sets : ByNameWithContainerAndFileNamesParameterSet
332
392
Aliases :
333
393
334
394
Required : False
335
395
Position : Named
336
396
Default value : None
337
- Accept pipeline input : False
397
+ Accept pipeline input : True (ByPropertyName)
398
+ Accept wildcard characters : False
399
+ ` ` `
400
+
401
+ ` ` ` yaml
402
+ Type : System.String
403
+ Parameter Sets : ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
404
+ Aliases :
405
+
406
+ Required : False
407
+ Position : Named
408
+ Default value : None
409
+ Accept pipeline input : True (ByPropertyName)
338
410
Accept wildcard characters : False
339
411
` ` `
340
412
@@ -343,13 +415,25 @@ Specifies the storage endpoint suffix.
343
415
344
416
` ` ` yaml
345
417
Type : System.String
346
- Parameter Sets : ByNameWithContainerAndFileNamesParameterSet, ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
418
+ Parameter Sets : ByNameWithContainerAndFileNamesParameterSet
347
419
Aliases :
348
420
349
421
Required : False
350
422
Position : Named
351
423
Default value : None
352
- Accept pipeline input : False
424
+ Accept pipeline input : True (ByPropertyName)
425
+ Accept wildcard characters : False
426
+ ` ` `
427
+
428
+ ` ` ` yaml
429
+ Type : System.String
430
+ Parameter Sets : ByParentObjectWithContainerAndFileNamesParameterSet, ByResourceIdWithContainerAndFileNamesParameterSet, ByInputObjectWithContainerAndFileNamesParameterSet
431
+ Aliases :
432
+
433
+ Required : False
434
+ Position : Named
435
+ Default value : None
436
+ Accept pipeline input : True (ByPropertyName)
353
437
Accept wildcard characters : False
354
438
` ` `
355
439
@@ -381,7 +465,7 @@ Aliases: ResourceName
381
465
Required : True
382
466
Position : Named
383
467
Default value : None
384
- Accept pipeline input : False
468
+ Accept pipeline input : True (ByPropertyName)
385
469
Accept wildcard characters : False
386
470
` ` `
387
471
0 commit comments