PowerShell script exchange
Post Reply
pirx
Veteran
Posts: 663
Liked: 99 times
Joined: Dec 20, 2015 6:24 pm
Contact:

exclude disks of Individual VMs

Post by pirx »

Follow up to my question on how to find VM/disk excluded.

For MSSQL server we exclude disks 3,4,5 (SCSI 0:3-0:5). I want to automate this but all examples I could find seem to require that the VM itself is added to the job, where we either add a cluster or based on tags. I would need to feed the script the VM name and the job name. Or just all jobs in case a VM is moved, which currently screws up excludes as they only cover the cluster the VM is currently running in...

I found https://www.robvit.com/veeam/backup_rep ... owershell/

But this seems to set excludes for every object in a job. I tried to filter on $jobobject but the VM itself is not an object, its the cluster.
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests