New-OfflineBundle
This cmdlet generates an offline bundle at the specified destination by using the specified software depots and software specification. The resulting bundle is vLCM-compliant.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
SoftwareSpec | String | 1 |
|
Specifies a software specification to use for the creation of the offline bundle. The software specification describes what building blocks to use when creating the bundle. All requirements in the specification need to be satisfied by the specified software depots. |
required
|
Destination | String | 2 |
|
Indicates that you want to store the newly created offline bundle at the specified destination. |
required
|
Depots | String[] | named |
|
Specifies one or more locations of software depots that contain the payloads to create the offline bundle. The value can be either a file path to an offline depot in the format of "<path-to-offline-depot>.zip" on your respective platform or an URL address to the index file of the online depot in the format of "https://<address-to-depot>/index.xml". |
required
|
VendorCode | String | named |
|
Specifies the code of the vendor of the bundle. The vendor code must be 3 alphanumeric characters. |
required
|
VendorName | String | named |
|
Specifies the name of the vendor of the bundle. The vendor name must be 1 to 20 alphanumeric characters, commas, periods, or spaces. |
optional | NoSignatureCheck | SwitchParameter | named |
|
If specified, disables VIB signature validation. The use of this option may lead to debilitating security vulnerabilities. |
optional | Overwrite | SwitchParameter | named |
|
If specified, existing files at the destination will be overwritten when creating the offline bundle. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
New-OfflineBundle -Depots "<path-to-offline-depot>.zip", "https://<address-to-depot>/index.xml" -SoftwareSpec "C:\<spec>.json" -VendorName "VMware" -VendorCode "VMW" -Destination "C:\<bundle-name>.zip"
Creates a new offline bundle by using the depots located at "<path-to-offline-depot>.zip" and "https://<address-to-depot>/index.xml" (one offline and one online depot, any number and combination of depots are supported). Uses the software specification located at "C:\<spec>.json" to construct the offline bundle and saves it to "C:\<bundle-name>.zip" afterwards.
Related Commands
OfflineBundle
This cmdlet generates an offline bundle at the specified destination by using the specified software depots and software specification