PowerShell script exchange
Post Reply
baremetalbrisbane
Service Provider
Posts: 5
Liked: never
Joined: Dec 15, 2016 1:36 am
Full Name: Mark Pollard
Contact:

Surebackup in V10 - Selecting VMs from prod groups

Post by baremetalbrisbane »

Our current script uses an older commandlet which is deprecated. The new commandlets in V10 supports options so we can disable the ping check and just use heartbeat

However, we need to create a new-surebackupvm object by using the get-vbrjobobject. However, get-vbrjobobject can’t see VM’s not explicitly listed in the job, eg if a resource pool is selected in the job, only the resource pool is visible. We are looking to only verify a small amount of virtual machines at a time on a Friday. Not the entire prod group

Is there anyway around this?
HannesK
Product Manager
Posts: 14840
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Surebackup in V10 - Selecting VMs from prod groups

Post by HannesK »

Hello,
SureBackup job accepts two sources (independently from powershell or not):

1) a backup jobs
2) an application group

So the workaround would be to create an application group.

Best regards,
Hannes
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests