I'm looking into pulling Veeam data on jobs and performance via Powershell. When I run this command: Get-VBRJob -Name "Remote Backup Copy" | select LinkedJobs, LinkedJobIDS |fl
I get:
LinkedJobs : {Veeam.Backup.Core.CLinkedJobs, Veeam.Backup.Core.CLinkedJobs, Veeam.Backup.Core.CLinkedJobs}
LinkedJobIds : {c40741d0-89f5-475f-816d-5b7ba0f98730, 85b831e7-70c4-4fd7-b4aa-c08fa77c5b4a,
3d61cb2f-2717-402a-b4e6-fce03503ac34}
I would expect LinkedJobs to return the actual names of the jobs instead of "Veeam.Backup.Core.CLinkedJobs". Can someone else confirm they are seeing similar results.
Running version 9.0.0.1715
-
- Influencer
- Posts: 17
- Liked: never
- Joined: Sep 20, 2016 3:06 pm
- Full Name: David
- Contact:
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Powershell Returns Information Veeam.Backup.Core
If you look at the definition of the LinkedJobs property you will see that it specifically says it will return type Veeam.Backup.Core.CLinkedJobs[], so that's to be expected. The returned CLinkedJobs object includes and Info (which also has the linked job ID) and Order properties as well as information like the creation date of the link. Jobs aren't referenced by name since a job can be renamed, but it's easy to get a job name from a job ID.
-
- Influencer
- Posts: 17
- Liked: never
- Joined: Sep 20, 2016 3:06 pm
- Full Name: David
- Contact:
Re: Powershell Returns Information Veeam.Backup.Core
I see that now. I guess I was assuming that the name would come in for me.
Who is online
Users browsing this forum: No registered users and 9 guests