Update-OSMedia
Get-Help
PS C:\> Get-Help Update-OSMedia -Full
NAME
Update-OSMedia
SYNOPSIS
Applies Adobe, Component, Cumulative, Servicing Stack, and Setup Updates to Windows 7, Windows 10,
Windows Server 2016, and Windows Server 2019 using Offline Servicing
SYNTAX
Update-OSMedia [[-Name] <String[]>] [-Download] [-Execute] [-CreateISO] [-PauseDismountOS]
[-PauseDismountPE] [-SkipUpdates] [-SelectUpdates] [-SkipComponentCleanup] [-ShowHiddenOSMedia]
[<CommonParameters>]
DESCRIPTION
Updates are gathered from the OSDBuilder Update Catalogs
PARAMETERS
-Name <String[]>
The name of the OSMedia to Update
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Download [<SwitchParameter>]
Automatically download the required updates if they are not present in the Content\OSDUpdate
directory
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Execute [<SwitchParameter>]
Executes Update-OSMedia
Without this parameter, Update-OSMedia is in Sandbox Mode where changes will not be made
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CreateISO [<SwitchParameter>]
Creates an ISO of the Updated Media
oscdimg.exe from Windows ADK is required
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-PauseDismountOS [<SwitchParameter>]
Pauses the function the Install.wim is dismounted
Useful for Testing
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-PauseDismountPE [<SwitchParameter>]
Pauses the function before WinPE is dismounted
Useful for Testing
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipUpdates [<SwitchParameter>]
Allows you to skip all Updates from being applied
Useful for Testing
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SelectUpdates [<SwitchParameter>]
Allows you to select Updates to apply in GridView
Useful for Testing
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipComponentCleanup [<SwitchParameter>]
Skips DISM /Cleanup-Image /StartComponentCleanup /ResetBase
Images created for Citrix PVS require this parameter
Useful for testing to reduce the time
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ShowHiddenOSMedia [<SwitchParameter>]
By default only the OSMedia that needs to be updated is displayed
This parameter includes the hidden OSMedia
[switch]$OSDInfo
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345'
-------------------------- EXAMPLE 2 --------------------------
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345' -Download
-------------------------- EXAMPLE 3 --------------------------
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345' -Download -Execute
-------------------------- EXAMPLE 4 --------------------------
PS C:\>Update-OSMedia -Name 'Win10 Ent x64 1803 17134.345' -Download -Execute -ISO
RELATED LINKS
https://osdbuilder.osdeploy.com/module/functions/osmedia/update-osmedia
Last updated