This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

vRanger Powershell API Commands - Pulling Backup Job Status Using Get-Job Command

Hey I’m fairly new to Powershell commands and pulling information from a Backup Job. I’m trying to pull the status of my completed jobs using the Get-Job command and replacing ID, Job Tasks and ParentJobTemplateID with names.

  • Hello.
    There is online documentation where you can find some examples of cmdlet usage.
    documents.software.dell.com/.../get-job
    Note that the Backup Job is a container and consists of one or more individual Tasks, one Task per VM. Job status is usually 'Completed' while individual Task status provides more info: it can be Succeeded, Failed, etc.

  • Your response helped a bit.

    Examples help me to understand what I'm seeing in "Get-Help Get-Job -full" and "Get-Job | GM". However, the Powershell only provides simple examples.

    After your response I was able to drill down further and get the info I needed (ie. (get-job)[0].JobTasks[0].VmName).

    I'm good now, Thanx!