PowerShell script exchange
Post Reply
y1008946
Enthusiast
Posts: 93
Liked: never
Joined: Sep 23, 2013 3:56 pm
Contact:

Powershell to set App Group Startup Options

Post by y1008946 » Mar 29, 2014 12:45 pm

Hi, I have a powershell script to add VMs to an App Group.

Code: Select all

Add-PSSnapin VeeamPSSnapin

$ibfOibs = (Get-VBRRestorePoint -Name "DOMCNTRL01")

Add-VSBViApplicationGroup –Name “App Group - Offsite Backups” –RestorePoint $ibfOibs
Is it possible to change the startup up options when adding the VM to the app group?

I would like to change 'maximum allowed boot time' when adding the VM

Thanks

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » Mar 29, 2014 6:07 pm

If my memory serves me well, the startup , as well as, other App Group options can't be currently changed via PS. However, I will doublecheck it on Monday, once I'm in the office. Thanks.

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » Mar 31, 2014 8:58 am

Yep, I was right. Currently, there is no way to specify/change VM start-up options of Application Group. Thanks.

y1008946
Enthusiast
Posts: 93
Liked: never
Joined: Sep 23, 2013 3:56 pm
Contact:

[MERGED] : Application Group Settings

Post by y1008946 » Jul 08, 2014 8:05 am

Hi, I've got a powershell script which creates an application group and add some VMs.

Is there a way I can set the VMs to have different start up times to the default ones given?

Also is it possible to give roles to the VMs through Powershell?

Many Thanks


This is my Powershell script:

Code: Select all

Add-PSSnapin VeeamPSSnapin

Sync-VBRBackupRepository -Repository (Get-VBRBackupRepository -Name "BackupData")

$ibfOibs = (Get-VBRRestorePoint -Name "DOM01")
$ibfOibs += (Get-VBRRestorePoint -Name "APP01")
$ibfOibs += (Get-VBRRestorePoint -Name "EXCH01")

Add-VSBViApplicationGroup –Name “App Group - Offsite Backups” –RestorePoint $ibfOibs

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » Jul 08, 2014 9:00 am

Currently, the mentioned settings aren't configurable via PowerShell. Thanks.

dustinherm
Lurker
Posts: 2
Liked: never
Joined: Sep 29, 2017 3:05 pm
Contact:

[MERGED] Feature Request

Post by dustinherm » Sep 29, 2017 3:14 pm

Allow us to change the default startup options - specifically maximum allowed boot time. Or at least let us change it per job via powershell.

Trying to do automatic sure backup jobs from powershell and I have certain vm's that fail because they do not boot in the 10 min time window, would like to be able to change that value via script or default settings so I don't have to create and run the jobs manually.

dustinherm
Lurker
Posts: 2
Liked: never
Joined: Sep 29, 2017 3:05 pm
Contact:

Re: Powershell to set App Group Startup Options

Post by dustinherm » Oct 23, 2017 9:26 pm

v.Eremin wrote:Currently, the mentioned settings aren't configurable via PowerShell. Thanks.

Anyway we can get these settings configurable via Powershell?

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » Oct 24, 2017 6:00 pm

We're considering this feature for one of the next product releases. Thanks.

DomBros
Novice
Posts: 5
Liked: never
Joined: Mar 17, 2017 12:30 pm
Full Name: Tomasz Dabrowski
Contact:

Re: Powershell to set App Group Startup Options

Post by DomBros » Feb 26, 2019 10:22 am

little refresh
has such functionality been added?
i can't find any clues

DomBros
Novice
Posts: 5
Liked: never
Joined: Mar 17, 2017 12:30 pm
Full Name: Tomasz Dabrowski
Contact:

Re: Powershell to set App Group Startup Options

Post by DomBros » Feb 26, 2019 10:30 am

i've give up to fast
there is solution :)
https://helpcenter.veeam.com/docs/backu ... l?ver=95u4

DomBros
Novice
Posts: 5
Liked: never
Joined: Mar 17, 2017 12:30 pm
Full Name: Tomasz Dabrowski
Contact:

Re: Powershell to set App Group Startup Options

Post by DomBros » Feb 26, 2019 12:35 pm

I do not understand
how to use New-VBRApplicationGroupStartupOptions (https://helpcenter.veeam.com/docs/backu ... l?ver=95u4)
to create Application Group with specify Bootup Options ?

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » Feb 27, 2019 4:03 pm

The cmdlet creates VM startup settings for staged restore and does not have any association with Application Group object. Thanks!

Pollmann_M
Lurker
Posts: 1
Liked: never
Joined: Nov 23, 2017 1:39 pm
Full Name: Martijn Pollmann
Location: The Netherlands
Contact:

Re: Powershell to set App Group Startup Options

Post by Pollmann_M » May 27, 2019 10:45 am

v.eremin wrote:
Oct 24, 2017 6:00 pm
We're considering this feature for one of the next product releases. Thanks.
Is this option going to be available in a future release?

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » May 27, 2019 5:10 pm 1 person likes this post

It will be available in one of the next future releases - timeframe for its support will be determined later. Thanks!

Simpleacc
Influencer
Posts: 12
Liked: never
Joined: Nov 13, 2017 10:02 am
Full Name: Javier
Contact:

Re: Powershell to set App Group Startup Options

Post by Simpleacc » Aug 01, 2019 1:51 pm

Hello,

Do you have any news about this topic? I have the same problem :D
I am trying to configure Application Group via powershell (it works well) but when I start the surebackup job some VMs have a time out because the boot time.

regards

veremin
Product Manager
Posts: 16675
Liked: 1392 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell to set App Group Startup Options

Post by veremin » Aug 01, 2019 2:37 pm

As mentioned, support for it is planned for one of the next product releases. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests