Import-OSMedia

Recommended Usage

Import-OSMedia -ShowInfo -Quick

Basics

Get-Help -Full

PS C:\> Get-Help -Full Import-OSMedia
NAME
Import-OSMedia
SYNOPSIS
Imports an Operating System into OSDBuilder
SYNTAX
Import-OSMedia [[-EditionId] <String>] [[-ImageIndex] <Int32>] [[-ImageName] <String>] [-SkipGrid] [-Update] [-BuildNetFX] [-ShowInfo] [<CommonParameters>]
DESCRIPTION
Imports a supported Operating System into the OSDBuilder OSMedia directory
PARAMETERS
-EditionId <String>
The Operating System EditionId to import
Import-OSMedia -EditionId Enterprise
Import-OSMedia -EditionId Enterprise -SkipGrid
Values:
Education
EducationN
Enterprise
EnterpriseN
EnterpriseS
EnterpriseSN
Professional
ProfessionalEducation
ProfessionalEducationN
ProfessionalN
ProfessionalWorkstation
ProfessionalWorkstationN
ServerDatacenter
ServerDatacenterACor
ServerRdsh
ServerStandard
ServerStandardACor
Alias: Edition
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ImageIndex <Int32>
The Operating System Index to Import
Import-OSMedia -ImageIndex 3
Import-OSMedia -ImageIndex 3 -SkipGrid
Alias: Index
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-ImageName <String>
The Operating System ImageName to Import
Import-OSMedia -ImageName 'Windows 10 Enterprise'
Import-OSMedia -ImageName 'Windows 10 Enterprise' -SkipGrid
Values:
Windows 10 Education
Windows 10 Enterprise
Windows 10 Enterprise for Virtual Desktops
Windows 10 Enterprise 2016 LTSB
Windows 10 Enterprise LTSC
Windows 10 Pro
Windows 10 Pro Education
Windows 10 Pro for Workstations
Windows 10 Education N
Windows 10 Enterprise N
Windows 10 Enterprise N LTSC
Windows 10 Pro N
Windows 10 Pro Education N
Windows 10 Pro N for Workstations
Windows Server Standard
Windows Server Datacenter
Windows Server 2016 Standard
Windows Server 2016 Standard (Desktop Experience)
Windows Server 2016 Datacenter
Windows Server 2016 Datacenter (Desktop Experience)
Windows Server 2019 Standard
Windows Server 2019 Standard (Desktop Experience)
Windows Server 2019 Datacenter
Windows Server 2019 Datacenter (Desktop Experience)
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SkipGrid [<SwitchParameter>]
Used to bypass the ISE GridView Operating System Selection
Must use EditionId or ImageName Parameter for best results
Alias: SkipGridView
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Update [<SwitchParameter>]
Creates an OSMedia with all Microsoft Updates applied
Import-OSMedia -Edition Enterprise -SkipGrid -QuickUpdate
Execute Command:
Update-OSMedia -Name $OSMediaName -Download -Execute -HideCleanupProgress
Alias: UpdateOSMedia
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-BuildNetFX [<SwitchParameter>]
Creates an OSBuild with NetFX enabled
Import-OSMedia -Edition Enterprise -SkipGrid -QuickBuild
Execute Command:
New-OSBuild -Name $OSMediaName -Download -Execute -HideCleanupProgress -SkipTask -QuickEnableNetFX
Alias: Build,BuildNetFX
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ShowInfo [<SwitchParameter>]
Displays Media Information after Import
Show-OSDBuilderInfo -FullName $OSMediaPath
Alias: 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
RELATED LINKS
https://osdbuilder.osdeploy.com/module/functions/import-osmedia