< Back

New-OSBuild

Sat Jan 18, 2020 6:12 pm

NAME New-OSBuild



SYNOPSIS

Creates a new OSBuild from an OSBuild Task





SYNTAX

New-OSBuild [-ByTaskName <String>] [-CreateISO] [-DontUseNewestMedia] [-Download] [-Execute]

[-HideCleanupProgress] [-PauseDismountOS] [-PauseDismountPE] [-SelectUpdates] [-SkipComponentCleanup]

[-SkipContentPacks] [-SkipTemplates] [-SkipUpdates] [-SkipUpdatesPE] [<CommonParameters>]



New-OSBuild [-Name <String[]>] [-CreateISO] [-DontUseNewestMedia] [-Download] [-Execute] [-EnableNetFX]

[-HideCleanupProgress] [-PauseDismountOS] [-PauseDismountPE] [-SelectContentPacks] [-SelectUpdates]

[-ShowHiddenOSMedia] [-SkipComponentCleanup] [-SkipContentPacks] [-SkipTemplates] [-SkipUpdates] [-SkipUpdatesPE]

-SkipTask [<CommonParameters>]





DESCRIPTION

Creates a new OSBuild from an OSBuild Task created with New-OSBuildTask





PARAMETERS

-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



-ByTaskName <String>

Name of the Task to execute



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildByTaskName

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 $global:SetOSDBuilder.NewOSBuildCreateISO

Accept pipeline input? false

Accept wildcard characters? false



-DontUseNewestMedia [<SwitchParameter>]

Use the OSMedia specified in the Task



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildDontUseNewestMedia

Accept pipeline input? false

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 $global:SetOSDBuilder.NewOSBuildDownload

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 $global:SetOSDBuilder.NewOSBuildExecute

Accept pipeline input? false

Accept wildcard characters? false



-EnableNetFX [<SwitchParameter>]

Enables NetFX without creating a Task



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildEnableNetFX

Accept pipeline input? false

Accept wildcard characters? false



-HideCleanupProgress [<SwitchParameter>]

Hides the Dism Cleanup-Image Progress



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildHideCleanupProgress

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 $global:SetOSDBuilder.NewOSBuildPauseDismountOS

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 $global:SetOSDBuilder.NewOSBuildPauseDismountPE

Accept pipeline input? false

Accept wildcard characters? false



-SelectContentPacks [<SwitchParameter>]

Add a ContentPack to Taskless OSBuild



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildSelectContentPacks

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 $global:SetOSDBuilder.NewOSBuildSelectUpdates

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 $global:SetOSDBuilder.NewOSBuildShowHiddenOSMedia

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 $global:SetOSDBuilder.NewOSBuildSkipComponentCleanup

Accept pipeline input? false

Accept wildcard characters? false



-SkipContentPacks [<SwitchParameter>]

Create a new OSBuild without applying ContentPacks



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildSkipContentPacks

Accept pipeline input? false

Accept wildcard characters? false



-SkipTemplates [<SwitchParameter>]

Create a new OSBuild without applying Templates



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildSkipTemplates

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 $global:SetOSDBuilder.NewOSBuildSkipUpdates

Accept pipeline input? false

Accept wildcard characters? false



-SkipUpdatesPE [<SwitchParameter>]

Skip applying updates in WinPE

Useful for Testing



Required? false

Position? named

Default value $global:SetOSDBuilder.NewOSBuildSkipUpdatesPE

Accept pipeline input? false

Accept wildcard characters? false



-SkipTask [<SwitchParameter>]

Create a new OSBuild from OSMedia without a Task



Required? true

Position? named

Default value $global:SetOSDBuilder.NewOSBuildSkipTask

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/ ... ew-osbuild