New-OfflineBundle Command | Vmware PowerCLI Reference

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

New-OfflineBundle
[ -SoftwareSpec ] < String >
[ -Destination ] < String >
-Depots < String[] >
-VendorCode < String >
-VendorName < String >
[-NoSignatureCheck ]
[-Overwrite ]
[CommonParameters]

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.

Output

Examples

Example 1

New-OfflineBundle -Depots "&#60path-to-offline-depot&#62.zip", "https://&#60address-to-depot&#62/index.xml" -SoftwareSpec "C:\&#60spec&#62.json" -VendorName "VMware" -VendorCode "VMW" -Destination "C:\&#60bundle-name&#62.zip"

Creates a new offline bundle by using the depots located at "&#60path-to-offline-depot&#62.zip" and "https://&#60address-to-depot&#62/index.xml" (one offline and one online depot, any number and combination of depots are supported). Uses the software specification located at "C:\&#60spec&#62.json" to construct the offline bundle and saves it to "C:\&#60bundle-name&#62.zip" afterwards.

Related Commands

OfflineBundle

This cmdlet generates an offline bundle at the specified destination by using the specified software depots and software specification