PowerShell script exchange
Post Reply
gnarlynorris
Novice
Posts: 5
Liked: never
Joined: Dec 16, 2022 1:02 am
Full Name: Gnarly Norris
Contact:

Backup VMs on multiple hosts in same script?

Post by gnarlynorris »

Hello,

I found the example script to veeamzip VMs through powershell, but it only seems to accommodate one vm host. Is there a way to backup VMs on several HyperV hosts in one script? Or would I need to nest a script for each host inside another script?

https://www.veeam.com/blog/veeam-backup ... shell.html

Thank you for any input!
HannesK
Product Manager
Posts: 14322
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Backup VMs on multiple hosts in same script?

Post by HannesK »

Hello,
and welcome to the forums.

If you have multiple hosts, then you have to adopt the script. Do you have a Hyper-V cluster / SCVMM? I recommend checking out the current documentation instead of a 7 years old blog post. The commands might have changed during that time

https://helpcenter.veeam.com/docs/backup/powershell/

Best regards,
Hannes
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests