Offline Category | Vmware PowerCLI Reference

Offline Category

Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations

Step 1 : Run commands from the CRUD group

You can CREATE objects by using New-OfflineBundle cmdlet. See example below:

# 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.

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"