PowerShell script exchange
Post Reply
bconn-rverdam
Novice
Posts: 6
Liked: never
Joined: Jun 25, 2016 2:38 pm
Full Name: Robert Verdam
Contact:

Create backup jobs based on SCVMM tag via powershell

Post by bconn-rverdam »

Feature Request
Create backup jobs based on SCVMM tag via Powershell.

Probably it would be sufficient to expand Find-VBRHvEntity to also be able to return tags and add this to the backup job via Add-VBRHvJobObject.

Is there any workaround to create backup jobs based on SCVMM-tags in an automated way?
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Create backup jobs based on SCVMM tag via powershell

Post by veremin »

Using SCVMM PowerShell, you should be able to get VMs with corresponding tag assigned. After that, based on the results you got, you will find these VMs, using FInd-VBRHvEntity, and pass the resulting list to Add-VBRHvJobObject. Thanks.
bconn-rverdam
Novice
Posts: 6
Liked: never
Joined: Jun 25, 2016 2:38 pm
Full Name: Robert Verdam
Contact:

Re: Create backup jobs based on SCVMM tag via powershell

Post by bconn-rverdam »

That's indeed the workaround I used now, but it would be far easier if we could use SCVMM tag as an entity, so that's why I created this as a feature request.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Create backup jobs based on SCVMM tag via powershell

Post by veremin »

Your voice has been counted. Thank you for the feedback; appreciated.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests