Powershell to set App Group Startup Options

PowerShell script exchange

Powershell to set App Group Startup Options

Veeam Logoby y1008946 » Sat 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
y1008946
Enthusiast
 
Posts: 86
Liked: never
Joined: Mon Sep 23, 2013 3:56 pm

Re: Powershell to set App Group Startup Options

Veeam Logoby v.Eremin » Sat 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.
v.Eremin
Veeam Software
 
Posts: 13257
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Powershell to set App Group Startup Options

Veeam Logoby v.Eremin » Mon 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.
v.Eremin
Veeam Software
 
Posts: 13257
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] : Application Group Settings

Veeam Logoby y1008946 » Tue 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
y1008946
Enthusiast
 
Posts: 86
Liked: never
Joined: Mon Sep 23, 2013 3:56 pm

Re: Powershell to set App Group Startup Options

Veeam Logoby v.Eremin » Tue Jul 08, 2014 9:00 am

Currently, the mentioned settings aren't configurable via PowerShell. Thanks.
v.Eremin
Veeam Software
 
Posts: 13257
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests