New-OSBuildTask

Get-Help -Full

PS C:\> Get-Help -Full New-OSBuildTask

NAME
    New-OSBuildTask
    
SYNOPSIS
    Creates a JSON Task for use with New-OSBuild
    
    
SYNTAX
    New-OSBuildTask -TaskName <String> [-CustomName <String>] [-WinPEAutoExtraFiles] [-AddContentPacks] [-SaveAs <String>] [-EnableNetFX3] [-RemoveAppx] [-RemoveCapability] [-RemovePackage] [-DisableFeature] [-EnableFeature] [-OSMedia <PSObject>] [<CommonParameters>]
    
    New-OSBuildTask -TaskName <String> [-CustomName <String>] [-WinPEAutoExtraFiles] [-AddContentPacks] [-SaveAs <String>] [-EnableNetFX3] [-RemoveAppx] [-RemoveCapability] [-RemovePackage] [-DisableFeature] [-EnableFeature] [-ContentDrivers] [-ContentExtraFiles] [-ContentFeaturesOnDemand] [-ContentPackages] [-ContentScripts] [-ContentStartLayout] [-ContentUnattend] [-ContentWinPEADK] [-ContentWinPEDart] [-ContentWinPEDrivers] 
    [-ContentWinPEExtraFiles] [-ContentWinPEScripts] [-ContentLanguagePackages] [-SetAllIntl <String>] [-SetInputLocale <String>] [-SetSKUIntlDefaults <String>] [-SetSetupUILang <String>] [-SetSysLocale <String>] [-SetUILang <String>] [-SetUILangFallback <String>] [-SetUserLocale <String>] [-SourcesLanguageCopy] [-OSMedia <PSObject>] [<CommonParameters>]
    
    
DESCRIPTION
    Creates a JSON Task for use with New-OSBuild
    

PARAMETERS
    -TaskName <String>
        Sets the name of the Task
        
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -CustomName <String>
        Custom name of the Build used in the final output directory
        This parameter is recommended
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -WinPEAutoExtraFiles [<SwitchParameter>]
        Adds some handy files copied from the Windows OS
        This parameter is recommended
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -AddContentPacks [<SwitchParameter>]
        Allows selection of a Template Pack to this Build
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SaveAs <String>
        Save as a Task or a Template
        Default: Task
        
        Required?                    false
        Position?                    named
        Default value                Task
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -EnableNetFX3 [<SwitchParameter>]
        Enable .NET Framework 3.5 for supported Operating Systems
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -RemoveAppx [<SwitchParameter>]
        Displays a GridView to select Appx Provisioned Packages to Remove
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -RemoveCapability [<SwitchParameter>]
        Displays a GridView to select Windows Capabilities to Remove
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -RemovePackage [<SwitchParameter>]
        Displays a GridView to select Windows Packages to Remove
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -DisableFeature [<SwitchParameter>]
        Disables an Enabled Windows Optional Feature
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -EnableFeature [<SwitchParameter>]
        Enables a Disabled Windows Optional Feature
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentDrivers [<SwitchParameter>]
        Select Drivers in GridView from the Content\Drivers directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentExtraFiles [<SwitchParameter>]
        Select ExtraFiles in GridView from the Content\ExtraFiles directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentFeaturesOnDemand [<SwitchParameter>]
        Select Features on Demand from IsoExtract
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentPackages [<SwitchParameter>]
        Select Packages in GridView from the Content\Packages directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentScripts [<SwitchParameter>]
        Select PowerShell Script in GridView from the Content\Scripts directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentStartLayout [<SwitchParameter>]
        Select a StartLayout.xml in GridView from the Content\StartLayout directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentUnattend [<SwitchParameter>]
        Select an Unattend.xml file in GridView from the Content\Unattend directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentWinPEADK [<SwitchParameter>]
        Select WinPE ADK files in GridView from the Content\ADK directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentWinPEDart [<SwitchParameter>]
        Select WinPE DaRT files in GridView from the Content\DaRT directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentWinPEDrivers [<SwitchParameter>]
        Select WinPE Drivers GridView from the Content\Drivers directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentWinPEExtraFiles [<SwitchParameter>]
        Select WinPE ExtraFiles in GridView from the Content\ExtraFiles directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentWinPEScripts [<SwitchParameter>]
        Select WinPE PowerShell Scripts in GridView from the Content\Scripts directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -ContentLanguagePackages [<SwitchParameter>]
        Select Language Packages in GridView from the Content\IsoExtract directory
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetAllIntl <String>
        Options: ar-SA,bg-BG,zh-CN,zh-TW,hr-HR,cs-CZ,da-DK,nl-NL,en-US,en-GB,et-EE,fi-FI,fr-CA,fr-FR,de-DE,el-GR,he-IL,hu-HU,it-IT,ja-JP,ko-KR,lv-LV,lt-LT,nb-NO,pl-PL,pt-BR,pt-PT,ro-RO,ru-RU,sr-Latn-RS,sk-SK,sl-SI,es-MX,es-ES,sv-SE,th-TH,tr-TR,uk-UA,af-ZA,am-ET,as-IN,az-Latn-AZ,be-BY,bn-BD,bn-IN,bs-Latn-BA,ca-ES,ca-ES-valencia,chr-CHER-US,cy-GB,eu-ES,fa-IR,fil-PH,ga-IE,gd-GB,gl-ES,gu-IN,ha-Latn-NG,hi-IN,hy-AM,id-ID,ig-NG,is-IS,ka-GE,kk-KZ,km
        -KH,kn-IN,kok-IN,ku-ARAB-IQ,ky-KG,lb-LU,lo-LA,mi-NZ,mk-MK,ml-IN,mn-MN,mr-IN,ms-MY,mt-MT,ne-NP,nn-NO,nso-ZA,or-IN,pa-Arab-PK,pa-IN,prs-AF,quc-Latn-GT,quz-PE,rw-RW,sd-Arab-PK,si-LK,sq-AL,sr-Cyrl-BA,sr-Cyrl-RS,sw-KE,ta-IN,te-IN,tg-Cyrl-TJ,ti-ET,tk-TM,tn-ZA,tt-RU,ug-CN,ur-PK,uz-Latn-UZ,vi-VN,wo-SN,xh-ZA,yo-NG,zu-ZA
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetInputLocale <String>
        Dism SetInputLocale
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetSKUIntlDefaults <String>
        Dism SetSKUIntlDefaults
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetSetupUILang <String>
        Dism SetSetupUILang
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetSysLocale <String>
        Dism SetSysLocale
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetUILang <String>
        Dism SetUILang
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetUILangFallback <String>
        Dism SetUILangFallback
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SetUserLocale <String>
        Dism SetUserLocale
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -SourcesLanguageCopy [<SwitchParameter>]
        Copy OSMedia Languages into Sources
        
        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false
        
    -OSMedia <PSObject>
        Get-OSMedia entry used to create task (bypasses Out-GridView)
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       true (ByValue)
        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
    
    
RELATED LINKS
    https://osdbuilder.osdeploy.com/module/functions/new-osbuildtask

Last updated