New-OSBuild

Get-Help -Full

1
PS C:\> Get-Help -Full New-OSBuild
2
3
NAME
4
New-OSBuild
5
6
SYNOPSIS
7
Creates a new OSBuild from an OSBuild Task
8
9
10
SYNTAX
11
New-OSBuild [-Download] [-Execute] [-CreateISO] [-PauseDismountOS] [-PauseDismountPE] [-SelectUpdates] [-SkipUpdates] [-SkipUpdatesPE] [-SkipComponentCleanup] [-ByTaskName <String>]
12
[-DontUseNewestMedia] [-SkipTemplates] [-SkipContentPacks] [-ShowHiddenOSMedia] [-HideCleanupProgress] [<CommonParameters>]
13
14
New-OSBuild [-Download] [-Execute] [-CreateISO] [-PauseDismountOS] [-PauseDismountPE] [-SelectUpdates] [-SkipUpdates] [-SkipUpdatesPE] [-SkipComponentCleanup] [-SkipTemplates]
15
[-SkipContentPacks] [-Name <String[]>] -SkipTask [-SelectContentPacks] [-EnableNetFX] [-ShowHiddenOSMedia] [-HideCleanupProgress] [<CommonParameters>]
16
17
18
DESCRIPTION
19
Creates a new OSBuild from an OSBuild Task created with New-OSBuildTask
20
21
22
PARAMETERS
23
-Download [<SwitchParameter>]
24
Automatically download the required updates if they are not present in the Content\OSDUpdate directory
25
26
Required? false
27
Position? named
28
Default value False
29
Accept pipeline input? false
30
Accept wildcard characters? false
31
32
-Execute [<SwitchParameter>]
33
Executes Update-OSMedia
34
Without this parameter, Update-OSMedia is in Sandbox Mode where changes will not be made
35
36
Required? false
37
Position? named
38
Default value False
39
Accept pipeline input? false
40
Accept wildcard characters? false
41
42
-CreateISO [<SwitchParameter>]
43
Creates an ISO of the Updated Media
44
oscdimg.exe from Windows ADK is required
45
46
Required? false
47
Position? named
48
Default value False
49
Accept pipeline input? false
50
Accept wildcard characters? false
51
52
-PauseDismountOS [<SwitchParameter>]
53
Pauses the function the Install.wim is dismounted
54
Useful for Testing
55
56
Required? false
57
Position? named
58
Default value False
59
Accept pipeline input? false
60
Accept wildcard characters? false
61
62
-PauseDismountPE [<SwitchParameter>]
63
Pauses the function before WinPE is dismounted
64
Useful for Testing
65
66
Required? false
67
Position? named
68
Default value False
69
Accept pipeline input? false
70
Accept wildcard characters? false
71
72
-SelectUpdates [<SwitchParameter>]
73
Allows you to select Updates to apply in GridView
74
Useful for Testing
75
76
Required? false
77
Position? named
78
Default value False
79
Accept pipeline input? false
80
Accept wildcard characters? false
81
82
-SkipUpdates [<SwitchParameter>]
83
Allows you to skip all Updates from being applied
84
Useful for Testing
85
86
Required? false
87
Position? named
88
Default value False
89
Accept pipeline input? false
90
Accept wildcard characters? false
91
92
-SkipUpdatesPE [<SwitchParameter>]
93
94
Required? false
95
Position? named
96
Default value False
97
Accept pipeline input? false
98
Accept wildcard characters? false
99
100
-SkipComponentCleanup [<SwitchParameter>]
101
Skips DISM /Cleanup-Image /StartComponentCleanup /ResetBase
102
Images created for Citrix PVS require this parameter
103
Useful for testing to reduce the time
104
105
Required? false
106
Position? named
107
Default value False
108
Accept pipeline input? false
109
Accept wildcard characters? false
110
111
-ByTaskName <String>
112
Name of the Task to execute
113
114
Required? false
115
Position? named
116
Default value
117
Accept pipeline input? false
118
Accept wildcard characters? false
119
120
-DontUseNewestMedia [<SwitchParameter>]
121
Use the OSMedia specified in the Task
122
123
Required? false
124
Position? named
125
Default value False
126
Accept pipeline input? false
127
Accept wildcard characters? false
128
129
-SkipTemplates [<SwitchParameter>]
130
Create a new OSBuild without applying Templates
131
132
Required? false
133
Position? named
134
Default value False
135
Accept pipeline input? false
136
Accept wildcard characters? false
137
138
-SkipContentPacks [<SwitchParameter>]
139
Create a new OSBuild without applying ContentPacks
140
141
Required? false
142
Position? named
143
Default value False
144
Accept pipeline input? false
145
Accept wildcard characters? false
146
147
-Name <String[]>
148
Specify the Name of the OSMedia to use with New-OSBuild
149
150
Required? false
151
Position? named
152
Default value
153
Accept pipeline input? true (ByPropertyName)
154
Accept wildcard characters? false
155
156
-SkipTask [<SwitchParameter>]
157
Create a new OSBuild from OSMedia without a Task
158
159
Required? true
160
Position? named
161
Default value False
162
Accept pipeline input? false
163
Accept wildcard characters? false
164
165
-SelectContentPacks [<SwitchParameter>]
166
Add a ContentPack without creating a Task
167
168
Required? false
169
Position? named
170
Default value False
171
Accept pipeline input? false
172
Accept wildcard characters? false
173
174
-EnableNetFX [<SwitchParameter>]
175
Enables NetFX without creating a Task
176
177
Required? false
178
Position? named
179
Default value False
180
Accept pipeline input? false
181
Accept wildcard characters? false
182
183
-ShowHiddenOSMedia [<SwitchParameter>]
184
By default only the OSMedia that needs to be updated is displayed
185
This parameter includes the hidden OSMedia
186
187
Required? false
188
Position? named
189
Default value False
190
Accept pipeline input? false
191
Accept wildcard characters? false
192
193
-HideCleanupProgress [<SwitchParameter>]
194
Hides the Dism Cleanup-Image Progress
195
196
Required? false
197
Position? named
198
Default value False
199
Accept pipeline input? false
200
Accept wildcard characters? false
201
202
<CommonParameters>
203
This cmdlet supports the common parameters: Verbose, Debug,
204
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
205
OutBuffer, PipelineVariable, and OutVariable. For more information, see
206
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
207
208
INPUTS
209
210
OUTPUTS
211
212
NOTES
213
214
215
19.10.28 MMSJazz Ready
216
19.10.14 Added HideCleanupProgress
217
19.10.13 Added SelectUpdates SkipUpdates
218
219
220
RELATED LINKS
221
https://osdbuilder.osdeploy.com/module/functions/new-osbuild
Copied!
Last modified 1yr ago
Copy link