PowerShell script exchange
y1008946
Enthusiast
Posts: 93 Liked: never
Joined: Sep 23, 2013 3:56 pm
Contact:
Post
by y1008946 » Mar 29, 2014 12:45 pm
this post
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: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Post
by veremin » Mar 29, 2014 6:07 pm
this post
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: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Post
by veremin » Mar 31, 2014 8:58 am
this post
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:
Post
by y1008946 » Jul 08, 2014 8:05 am
this post
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: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Post
by veremin » Jul 08, 2014 9:00 am
this post
Currently, the mentioned settings aren't configurable via PowerShell. Thanks.
dustinherm
Lurker
Posts: 2 Liked: never
Joined: Sep 29, 2017 3:05 pm
Contact:
Post
by dustinherm » Sep 29, 2017 3:14 pm
this post
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:
Post
by dustinherm » Oct 23, 2017 9:26 pm
this post
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: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Post
by veremin » Oct 24, 2017 6:00 pm
this post
We're considering this feature for one of the next product releases. Thanks.
DomBros
Influencer
Posts: 10 Liked: 1 time
Joined: Mar 17, 2017 12:30 pm
Full Name: Tomasz Dabrowski
Contact:
Post
by DomBros » Feb 26, 2019 10:22 am
this post
little refresh
has such functionality been added?
i can't find any clues
DomBros
Influencer
Posts: 10 Liked: 1 time
Joined: Mar 17, 2017 12:30 pm
Full Name: Tomasz Dabrowski
Contact:
Post
by DomBros » Feb 26, 2019 10:30 am
this post
veremin
Product Manager
Posts: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Post
by veremin » Feb 27, 2019 4:03 pm
this post
The cmdlet creates VM startup settings for staged restore and does not have any association with Application Group object. Thanks!
Pollmann_M
Influencer
Posts: 11 Liked: never
Joined: Nov 23, 2017 1:39 pm
Full Name: Martijn Pollmann
Location: The Netherlands
Contact:
Post
by Pollmann_M » May 27, 2019 10:45 am
this post
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: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
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:
Post
by Simpleacc » Aug 01, 2019 1:51 pm
this post
Hello,
Do you have any news about this topic? I have the same problem
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: 20735 Liked: 2403 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Post
by veremin » Aug 01, 2019 2:37 pm
this post
As mentioned, support for it is planned for one of the next product releases. Thanks!
Users browsing this forum: No registered users and 5 guests