Get-HCXJob Command | Vmware PowerCLI Reference

Get-HCXJob

This cmdlet retrieves a list of the HCX job.

Syntax

Get-HCXJob
[-Id < String[] > ]
[-Job < HCXJob[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < HcxServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Id String[] named
Specifies the Id of the Job. Note: When a list of values is specified for the Id parameter, the returned objects have a Uid that matches exactly one of the string values in the list.
optional Job HCXJob[] named
  • pipeline
Specifies the Job.
optional ProgressAction ActionPreference named
optional Server HcxServer[] named
Specifies the HCX Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet.

Output

VMware.VimAutomation.Hcx.Types.V1.HCXJob

Examples

Example 1

Get-HCXJob -Id "myJobId"

Retrieves the job details for the specified Id.

Related Commands

HCXJob

This cmdlet retrieves a list of the HCX job.

This cmdlet waits for the job to complete.