Hi,
I have to create more than 80 Replication Jobs within Powershell and I have a last issue I can't resolve.
I would like to replicate a Folder not a VM but I get stuck with Veeam Powershell...
I use Add-VBRViReplicaJob successfully when using -Entity to point to a VM but How to point to a Folder instead ?
When I use Find-VBRViEntity -name "Folder1" it doesn't retrieve any object
THanks for your help !
-
- Novice
- Posts: 6
- Liked: never
- Joined: Jun 08, 2012 12:35 pm
- Full Name: damtux
- Contact:
-
- Influencer
- Posts: 16
- Liked: never
- Joined: May 29, 2011 1:55 am
- Contact:
Re: Create Replication Job with Folders
You could use PowerCLI.
Get-vm -location xyz
Add the VMs returned to the script so you backup each VM in the folder!
Get-vm -location xyz
Add the VMs returned to the script so you backup each VM in the folder!
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: Create Replication Job with Folders
This was a little harder to dig up, but this still works in version 6:
This will allow you to add a folder just by giving a VM listed in that folder, which you only have to do once
This will allow you to add a folder just by giving a VM listed in that folder, which you only have to do once
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
-
- Novice
- Posts: 6
- Liked: never
- Joined: Jun 08, 2012 12:35 pm
- Full Name: damtux
- Contact:
Re: Create Replication Job with Folders
Thanks sethbartlett ! Works very well !
Indeed it would be great to have those features in PS.
Indeed it would be great to have those features in PS.
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: Create Replication Job with Folders
I agree with you completely
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Who is online
Users browsing this forum: Amazon [Bot] and 11 guests