New-OSBuildTask

Get-Help -Full

1
PS C:\> Get-Help -Full New-OSBuildTask
2
3
NAME
4
New-OSBuildTask
5
6
SYNOPSIS
7
Creates a JSON Task for use with New-OSBuild
8
9
10
SYNTAX
11
New-OSBuildTask -TaskName <String> [-CustomName <String>] [-WinPEAutoExtraFiles] [-AddContentPacks] [-SaveAs <String>] [-EnableNetFX3] [-RemoveAppx] [-RemoveCapability] [-RemovePackage] [-DisableFeature] [-EnableFeature] [-OSMedia <PSObject>] [<CommonParameters>]
12
13
New-OSBuildTask -TaskName <String> [-CustomName <String>] [-WinPEAutoExtraFiles] [-AddContentPacks] [-SaveAs <String>] [-EnableNetFX3] [-RemoveAppx] [-RemoveCapability] [-RemovePackage] [-DisableFeature] [-EnableFeature] [-ContentDrivers] [-ContentExtraFiles] [-ContentFeaturesOnDemand] [-ContentPackages] [-ContentScripts] [-ContentStartLayout] [-ContentUnattend] [-ContentWinPEADK] [-ContentWinPEDart] [-ContentWinPEDrivers]
14
[-ContentWinPEExtraFiles] [-ContentWinPEScripts] [-ContentLanguagePackages] [-SetAllIntl <String>] [-SetInputLocale <String>] [-SetSKUIntlDefaults <String>] [-SetSetupUILang <String>] [-SetSysLocale <String>] [-SetUILang <String>] [-SetUILangFallback <String>] [-SetUserLocale <String>] [-SourcesLanguageCopy] [-OSMedia <PSObject>] [<CommonParameters>]
15
16
17
DESCRIPTION
18
Creates a JSON Task for use with New-OSBuild
19
20
21
PARAMETERS
22
-TaskName <String>
23
Sets the name of the Task
24
25
Required? true
26
Position? named
27
Default value
28
Accept pipeline input? false
29
Accept wildcard characters? false
30
31
-CustomName <String>
32
Custom name of the Build used in the final output directory
33
This parameter is recommended
34
35
Required? false
36
Position? named
37
Default value
38
Accept pipeline input? false
39
Accept wildcard characters? false
40
41
-WinPEAutoExtraFiles [<SwitchParameter>]
42
Adds some handy files copied from the Windows OS
43
This parameter is recommended
44
45
Required? false
46
Position? named
47
Default value False
48
Accept pipeline input? false
49
Accept wildcard characters? false
50
51
-AddContentPacks [<SwitchParameter>]
52
Allows selection of a Template Pack to this Build
53
54
Required? false
55
Position? named
56
Default value False
57
Accept pipeline input? false
58
Accept wildcard characters? false
59
60
-SaveAs <String>
61
Save as a Task or a Template
62
Default: Task
63
64
Required? false
65
Position? named
66
Default value Task
67
Accept pipeline input? false
68
Accept wildcard characters? false
69
70
-EnableNetFX3 [<SwitchParameter>]
71
Enable .NET Framework 3.5 for supported Operating Systems
72
73
Required? false
74
Position? named
75
Default value False
76
Accept pipeline input? false
77
Accept wildcard characters? false
78
79
-RemoveAppx [<SwitchParameter>]
80
Displays a GridView to select Appx Provisioned Packages to Remove
81
82
Required? false
83
Position? named
84
Default value False
85
Accept pipeline input? false
86
Accept wildcard characters? false
87
88
-RemoveCapability [<SwitchParameter>]
89
Displays a GridView to select Windows Capabilities to Remove
90
91
Required? false
92
Position? named
93
Default value False
94
Accept pipeline input? false
95
Accept wildcard characters? false
96
97
-RemovePackage [<SwitchParameter>]
98
Displays a GridView to select Windows Packages to Remove
99
100
Required? false
101
Position? named
102
Default value False
103
Accept pipeline input? false
104
Accept wildcard characters? false
105
106
-DisableFeature [<SwitchParameter>]
107
Disables an Enabled Windows Optional Feature
108
109
Required? false
110
Position? named
111
Default value False
112
Accept pipeline input? false
113
Accept wildcard characters? false
114
115
-EnableFeature [<SwitchParameter>]
116
Enables a Disabled Windows Optional Feature
117
118
Required? false
119
Position? named
120
Default value False
121
Accept pipeline input? false
122
Accept wildcard characters? false
123
124
-ContentDrivers [<SwitchParameter>]
125
Select Drivers in GridView from the Content\Drivers directory
126
127
Required? false
128
Position? named
129
Default value False
130
Accept pipeline input? false
131
Accept wildcard characters? false
132
133
-ContentExtraFiles [<SwitchParameter>]
134
Select ExtraFiles in GridView from the Content\ExtraFiles directory
135
136
Required? false
137
Position? named
138
Default value False
139
Accept pipeline input? false
140
Accept wildcard characters? false
141
142
-ContentFeaturesOnDemand [<SwitchParameter>]
143
Select Features on Demand from IsoExtract
144
145
Required? false
146
Position? named
147
Default value False
148
Accept pipeline input? false
149
Accept wildcard characters? false
150
151
-ContentPackages [<SwitchParameter>]
152
Select Packages in GridView from the Content\Packages directory
153
154
Required? false
155
Position? named
156
Default value False
157
Accept pipeline input? false
158
Accept wildcard characters? false
159
160
-ContentScripts [<SwitchParameter>]
161
Select PowerShell Script in GridView from the Content\Scripts directory
162
163
Required? false
164
Position? named
165
Default value False
166
Accept pipeline input? false
167
Accept wildcard characters? false
168
169
-ContentStartLayout [<SwitchParameter>]
170
Select a StartLayout.xml in GridView from the Content\StartLayout directory
171
172
Required? false
173
Position? named
174
Default value False
175
Accept pipeline input? false
176
Accept wildcard characters? false
177
178
-ContentUnattend [<SwitchParameter>]
179
Select an Unattend.xml file in GridView from the Content\Unattend directory
180
181
Required? false
182
Position? named
183
Default value False
184
Accept pipeline input? false
185
Accept wildcard characters? false
186
187
-ContentWinPEADK [<SwitchParameter>]
188
Select WinPE ADK files in GridView from the Content\ADK directory
189
190
Required? false
191
Position? named
192
Default value False
193
Accept pipeline input? false
194
Accept wildcard characters? false
195
196
-ContentWinPEDart [<SwitchParameter>]
197
Select WinPE DaRT files in GridView from the Content\DaRT directory
198
199
Required? false
200
Position? named
201
Default value False
202
Accept pipeline input? false
203
Accept wildcard characters? false
204
205
-ContentWinPEDrivers [<SwitchParameter>]
206
Select WinPE Drivers GridView from the Content\Drivers directory
207
208
Required? false
209
Position? named
210
Default value False
211
Accept pipeline input? false
212
Accept wildcard characters? false
213
214
-ContentWinPEExtraFiles [<SwitchParameter>]
215
Select WinPE ExtraFiles in GridView from the Content\ExtraFiles directory
216
217
Required? false
218
Position? named
219
Default value False
220
Accept pipeline input? false
221
Accept wildcard characters? false
222
223
-ContentWinPEScripts [<SwitchParameter>]
224
Select WinPE PowerShell Scripts in GridView from the Content\Scripts directory
225
226
Required? false
227
Position? named
228
Default value False
229
Accept pipeline input? false
230
Accept wildcard characters? false
231
232
-ContentLanguagePackages [<SwitchParameter>]
233
Select Language Packages in GridView from the Content\IsoExtract directory
234
235
Required? false
236
Position? named
237
Default value False
238
Accept pipeline input? false
239
Accept wildcard characters? false
240
241
-SetAllIntl <String>
242
Options: ar-SA,bg-BG,zh-CN,zh-TW,hr-HR,cs-CZ,da-DK,nl-NL,en-US,en-GB,et-EE,fi-FI,fr-CA,fr-FR,de-DE,el-GR,he-IL,hu-HU,it-IT,ja-JP,ko-KR,lv-LV,lt-LT,nb-NO,pl-PL,pt-BR,pt-PT,ro-RO,ru-RU,sr-Latn-RS,sk-SK,sl-SI,es-MX,es-ES,sv-SE,th-TH,tr-TR,uk-UA,af-ZA,am-ET,as-IN,az-Latn-AZ,be-BY,bn-BD,bn-IN,bs-Latn-BA,ca-ES,ca-ES-valencia,chr-CHER-US,cy-GB,eu-ES,fa-IR,fil-PH,ga-IE,gd-GB,gl-ES,gu-IN,ha-Latn-NG,hi-IN,hy-AM,id-ID,ig-NG,is-IS,ka-GE,kk-KZ,km
243
-KH,kn-IN,kok-IN,ku-ARAB-IQ,ky-KG,lb-LU,lo-LA,mi-NZ,mk-MK,ml-IN,mn-MN,mr-IN,ms-MY,mt-MT,ne-NP,nn-NO,nso-ZA,or-IN,pa-Arab-PK,pa-IN,prs-AF,quc-Latn-GT,quz-PE,rw-RW,sd-Arab-PK,si-LK,sq-AL,sr-Cyrl-BA,sr-Cyrl-RS,sw-KE,ta-IN,te-IN,tg-Cyrl-TJ,ti-ET,tk-TM,tn-ZA,tt-RU,ug-CN,ur-PK,uz-Latn-UZ,vi-VN,wo-SN,xh-ZA,yo-NG,zu-ZA
244
245
Required? false
246
Position? named
247
Default value
248
Accept pipeline input? false
249
Accept wildcard characters? false
250
251
-SetInputLocale <String>
252
Dism SetInputLocale
253
254
Required? false
255
Position? named
256
Default value
257
Accept pipeline input? false
258
Accept wildcard characters? false
259
260
-SetSKUIntlDefaults <String>
261
Dism SetSKUIntlDefaults
262
263
Required? false
264
Position? named
265
Default value
266
Accept pipeline input? false
267
Accept wildcard characters? false
268
269
-SetSetupUILang <String>
270
Dism SetSetupUILang
271
272
Required? false
273
Position? named
274
Default value
275
Accept pipeline input? false
276
Accept wildcard characters? false
277
278
-SetSysLocale <String>
279
Dism SetSysLocale
280
281
Required? false
282
Position? named
283
Default value
284
Accept pipeline input? false
285
Accept wildcard characters? false
286
287
-SetUILang <String>
288
Dism SetUILang
289
290
Required? false
291
Position? named
292
Default value
293
Accept pipeline input? false
294
Accept wildcard characters? false
295
296
-SetUILangFallback <String>
297
Dism SetUILangFallback
298
299
Required? false
300
Position? named
301
Default value
302
Accept pipeline input? false
303
Accept wildcard characters? false
304
305
-SetUserLocale <String>
306
Dism SetUserLocale
307
308
Required? false
309
Position? named
310
Default value
311
Accept pipeline input? false
312
Accept wildcard characters? false
313
314
-SourcesLanguageCopy [<SwitchParameter>]
315
Copy OSMedia Languages into Sources
316
317
Required? false
318
Position? named
319
Default value False
320
Accept pipeline input? false
321
Accept wildcard characters? false
322
323
-OSMedia <PSObject>
324
Get-OSMedia entry used to create task (bypasses Out-GridView)
325
326
Required? false
327
Position? named
328
Default value
329
Accept pipeline input? true (ByValue)
330
Accept wildcard characters? false
331
332
<CommonParameters>
333
This cmdlet supports the common parameters: Verbose, Debug,
334
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
335
OutBuffer, PipelineVariable, and OutVariable. For more information, see
336
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
337
338
INPUTS
339
340
OUTPUTS
341
342
343
RELATED LINKS
344
https://osdbuilder.osdeploy.com/module/functions/new-osbuildtask
Copied!
Last modified 1yr ago
Copy link