PowerShell script exchange
Post Reply
matteu
Veeam Legend
Posts: 860
Liked: 136 times
Joined: May 11, 2018 8:42 am
Contact:

Identify pre staged protection group

Post by matteu »

Hello,

How can I have only pre installed protection group ?
I don't find it on the commandlet Get-VBRProtectionGroup

Thanks
Mildur
Product Manager
Posts: 10537
Liked: 2832 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Identify pre staged protection group

Post by Mildur »

Hi matteu

Are you talking about the manually added group?
Please try the following:

Code: Select all

Get-VBRProtectionGroup -Type ManuallyAdded
Product Management Analyst @ Veeam Software
matteu
Veeam Legend
Posts: 860
Liked: 136 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Identify pre staged protection group

Post by matteu »

Hello :)

Unfortunately no :)
I'm talking about pre installed.
It's new since V11 when you create protection group you can choose "pre installed" and you have source on the VBR and you need to copy it on the endpoint you want to install it.

I know it's "manuall installation" but I suppose there is something on the protection group attribute to identify it specifically ?
Mildur
Product Manager
Posts: 10537
Liked: 2832 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Identify pre staged protection group

Post by Mildur » 1 person likes this post

Hi matteu

Ok, thanks for explaining. :)
Could it be the containertype ManuallyDeployed? This container type wasn‘t available before V11.

Code: Select all

Get-VBRProtectionGroup -ContainerType ManuallyDeployed
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
ManuallyDeployed: a scope of computers that were added manually to a Veeam Agent backup job.
Product Management Analyst @ Veeam Software
matteu
Veeam Legend
Posts: 860
Liked: 136 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Identify pre staged protection group

Post by matteu »

What I would like is to query all my protection group and know what are the manually added, what are the CSVimported, what are individual,...

If I do (Get-VeeamProtectionGroup).type

All my protection group are Custom type (I have some individual and some Pre installed in my case.)
oleg.feoktistov
Veeam Software
Posts: 2025
Liked: 674 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Identify pre staged protection group

Post by oleg.feoktistov » 1 person likes this post

Hi matteu,

Something like this should do the job:

Code: Select all

Get-VBRProtectionGroup | select Id, Name, @{n='ContainerType';e={$_.Container.Type}}
Best regards,
Oleg
matteu
Veeam Legend
Posts: 860
Liked: 136 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Identify pre staged protection group

Post by matteu »

Thanks for your answer :)

Perfect
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests