New-OSBuild
Get-Help -Full
PS C:\> Get-Help -Full New-OSBuild
NAME
New-OSBuild
SYNOPSIS
Creates a new OSBuild from an OSBuild Task
SYNTAX
New-OSBuild [-Download] [-Execute] [-CreateISO] [-PauseDismountOS] [-PauseDismountPE] [-SelectUpdates] [-SkipUpdates] [-SkipUpdatesPE] [-SkipComponentCleanup] [-ByTaskName <String>]
[-DontUseNewestMedia] [-SkipTemplates] [-SkipContentPacks] [-ShowHiddenOSMedia] [-HideCleanupProgress] [<CommonParameters>]
New-OSBuild [-Download] [-Execute] [-CreateISO] [-PauseDismountOS] [-PauseDismountPE] [-SelectUpdates] [-SkipUpdates] [-SkipUpdatesPE] [-SkipComponentCleanup] [-SkipTemplates]
[-SkipContentPacks] [-Name <String[]>] -SkipTask [-SelectContentPacks] [-EnableNetFX] [-ShowHiddenOSMedia] [-HideCleanupProgress] [<CommonParameters>]
DESCRIPTION
Creates a new OSBuild from an OSBuild Task created with New-OSBuildTask
PARAMETERS
-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
-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
-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
-SkipUpdatesPE [<SwitchParameter>]
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
-ByTaskName <String>
Name of the Task to execute
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DontUseNewestMedia [<SwitchParameter>]
Use the OSMedia specified in the Task
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipTemplates [<SwitchParameter>]
Create a new OSBuild without applying Templates
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SkipContentPacks [<SwitchParameter>]
Create a new OSBuild without applying ContentPacks
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
Specify the Name of the OSMedia to use with New-OSBuild
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SkipTask [<SwitchParameter>]
Create a new OSBuild from OSMedia without a Task
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-SelectContentPacks [<SwitchParameter>]
Add a ContentPack without creating a Task
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-EnableNetFX [<SwitchParameter>]
Enables NetFX without creating a Task
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
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-HideCleanupProgress [<SwitchParameter>]
Hides the Dism Cleanup-Image Progress
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
NOTES
19.10.28 MMSJazz Ready
19.10.14 Added HideCleanupProgress
19.10.13 Added SelectUpdates SkipUpdates
RELATED LINKS
https://osdbuilder.osdeploy.com/module/functions/new-osbuild
Last updated