Import-OSMedia Automation
As long as you know the ImageIndex, ImageName, or the EditionId of the Windows Image that you want to import, you can automate Import-OSMedia
with the SkipGrid
parameter
Import-OSMedia
with the SkipGrid
parameter
ImageIndex
Odds are you won't know the exact ImageIndex, so this will probably not get used that often, but its here!
Import-OSMedia -ImageIndex 7 -SkipGrid

ImageName
You have several options for ImageName that can be used, so make sure you use a valid option
Import-OSMediaImport-OSMedia -ImageName 'Windows 10 Enterprise' -SkipGrid

EditionID
You have several options for EditionID that you can use as well, read this link for the details
Import-OSMediaImport-OSMedia -EditionId ProfessionalWorkstation -SkipGrid

Last updated
Was this helpful?