Syntax
New-IsoImage [-Depots] <String[]> [-SoftwareSpec] <String> [-KernelOptions <String[]>] [-CheckAcceptance] [-LiveImage] [-Overwrite] -Destination <String> [<CommonParameters>]Related Commands
Get-DepotAddonsDetailed Description
This cmdlet generates an ISO image by using the specified software depot and software specification at the specified file path. Optionally, you can pass additional kernel options, create a live image instead, overwrite existing files, or check acceptance levels for individual VIBs used during the creation of the image.Parameters
Return Type
No return typeNotes
No notesExamples
-------------- Create an ISO image --------------
C:\PS>New-IsoImage "C:\<depot>.zip", "https://<address-to-depot>/index.xml" "C:\<spec>.json" -Destination "C:\<image-name>.iso"Creates a new ISO image by using the depots located at "C:\<depot>.zip" and "https://<address-to-depot>/index.xml" (one offline and one online depot, can be used in any number and combination). Uses the software specification located at "C:\<spec>.json" to construct the image and saves it to "C:\<image-name>.iso" afterwards.
-------------- Create an ISO image with kernel options --------------
C:\PS>New-IsoImage "C:\<depot>.zip", "https://<address-to-depot>/index.xml" "C:\<spec>.json" -Destination "C:\<image-name>.iso" -KernelOptions "option1=value1", "option2=value2"
Creates a new ISO image by using the depots located at "C:\<depot>.zip", "https://<address-to-depot>/index.xml" (one offline and one online depot, can be used in any number and combination). Uses the software specification located at "C:\<spec>.json" to construct the image and include the additional kernel options "option1=value1", "option2=value2" provided with -KernelOptions. Saves the image to "C:\<image-name>.iso" afterwards.