Pxe Category | Vmware PowerCLI Reference

Pxe 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-PxeImage cmdlet. See example below:

# Creates a new PXE 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 the PXE files to "C:\<name-of-pxe-directory>" afterwards.

New-PxeImage "C:\<depot>.zip", "https://<address-to-depot>/index.xml" "C:\<spec>.json" -Destination "C:\<name-of-pxe-directory>"

Step 2: Explore More Related Commands:


Get-PxeProfile Get-PxeProfile [[-Name] <string[]>] [<CommonParameters>]