Update-OSMedia

Get-Help

1
PS C:\> Get-Help Update-OSMedia -Full
2
3
NAME
4
Update-OSMedia
5
6
SYNOPSIS
7
Applies Adobe, Component, Cumulative, Servicing Stack, and Setup Updates to Windows 7, Windows 10,
8
Windows Server 2016, and Windows Server 2019 using Offline Servicing
9
10
11
SYNTAX
12
Update-OSMedia [[-Name] <String[]>] [-Download] [-Execute] [-CreateISO] [-PauseDismountOS]
13
[-PauseDismountPE] [-SkipUpdates] [-SelectUpdates] [-SkipComponentCleanup] [-ShowHiddenOSMedia]
14
[<CommonParameters>]
15
16
17
DESCRIPTION
18
Updates are gathered from the OSDBuilder Update Catalogs
19
20
21
PARAMETERS
22
-Name <String[]>
23
The name of the OSMedia to Update
24
25
Required? false
26
Position? 1
27
Default value
28
Accept pipeline input? true (ByPropertyName)
29
Accept wildcard characters? false
30
31
-Download [<SwitchParameter>]
32
Automatically download the required updates if they are not present in the Content\OSDUpdate
33
directory
34
35
Required? false
36
Position? named
37
Default value False
38
Accept pipeline input? false
39
Accept wildcard characters? false
40
41
-Execute [<SwitchParameter>]
42
Executes Update-OSMedia
43
Without this parameter, Update-OSMedia is in Sandbox Mode where changes will not be made
44
45
Required? false
46
Position? named
47
Default value False
48
Accept pipeline input? false
49
Accept wildcard characters? false
50
51
-CreateISO [<SwitchParameter>]
52
Creates an ISO of the Updated Media
53
oscdimg.exe from Windows ADK is required
54
55
Required? false
56
Position? named
57
Default value False
58
Accept pipeline input? false
59
Accept wildcard characters? false
60
61
-PauseDismountOS [<SwitchParameter>]
62
Pauses the function the Install.wim is dismounted
63
Useful for Testing
64
65
Required? false
66
Position? named
67
Default value False
68
Accept pipeline input? false
69
Accept wildcard characters? false
70
71
-PauseDismountPE [<SwitchParameter>]
72
Pauses the function before WinPE is dismounted
73
Useful for Testing
74
75
Required? false
76
Position? named
77
Default value False
78
Accept pipeline input? false
79
Accept wildcard characters? false
80
81
-SkipUpdates [<SwitchParameter>]
82
Allows you to skip all Updates from being applied
83
Useful for Testing
84
85
Required? false
86
Position? named
87
Default value False
88
Accept pipeline input? false
89
Accept wildcard characters? false
90
91
-SelectUpdates [<SwitchParameter>]
92
Allows you to select Updates to apply in GridView
93
Useful for Testing
94
95
Required? false
96
Position? named
97
Default value False
98
Accept pipeline input? false
99
Accept wildcard characters? false
100
101
-SkipComponentCleanup [<SwitchParameter>]
102
Skips DISM /Cleanup-Image /StartComponentCleanup /ResetBase
103
Images created for Citrix PVS require this parameter
104
Useful for testing to reduce the time
105
106
Required? false
107
Position? named
108
Default value False
109
Accept pipeline input? false
110
Accept wildcard characters? false
111
112
-ShowHiddenOSMedia [<SwitchParameter>]
113
By default only the OSMedia that needs to be updated is displayed
114
This parameter includes the hidden OSMedia
115
[switch]$OSDInfo
116
117
Required? false
118
Position? named
119
Default value False
120
Accept pipeline input? false
121
Accept wildcard characters? false
122
123
<CommonParameters>
124
This cmdlet supports the common parameters: Verbose, Debug,
125
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
126
OutBuffer, PipelineVariable, and OutVariable. For more information, see
127
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
128
129
INPUTS
130
131
OUTPUTS
132
133
-------------------------- EXAMPLE 1 --------------------------
134
135
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345'
136
137
138
139
140
141
142
-------------------------- EXAMPLE 2 --------------------------
143
144
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345' -Download
145
146
147
148
149
150
151
-------------------------- EXAMPLE 3 --------------------------
152
153
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345' -Download -Execute
154
155
156
157
158
159
160
-------------------------- EXAMPLE 4 --------------------------
161
162
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345' -Download -Execute -ISO
163
164
165
166
167
168
169
170
RELATED LINKS
171
https://osdbuilder.osdeploy.com/module/functions/osmedia/update-osmedia
Copied!
Copy link