PowerShell script exchange
david.domask
Product Manager
Posts: 3390
Liked: 800 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: How do I set DiskFilter and other exclude parameters

Post by david.domask »

Hi Leo,

I've merged your topic into an existing topic. Please see my post above, with powershell there are no official endpoints for this, but with the RESTAPI you can do it. I would advise consider adding a small amount of REST to your powershell script(s) with Invoke-WebRequest and set the exclusions that way as opposed to the unsupported methods above.
David Domask | Product Management: Principal Analyst
Leo0601
Enthusiast
Posts: 88
Liked: 8 times
Joined: Oct 13, 2020 1:40 pm
Full Name: Leo
Contact:

Re: How do I set DiskFilter and other exclude parameters

Post by Leo0601 »

@david.domask

Thanks much for your quick reply. Your support is always great.

Oh, is it ? We have to do it from PowerShell only.

So its not possible from PowerShell ? Right ?

Regards
Leo
david.domask
Product Manager
Posts: 3390
Liked: 800 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: How do I set DiskFilter and other exclude parameters

Post by david.domask »

With built-in cmdlets, no not at this time. You _can_ use unsupported methods, but Veeam Support will not be able to assist should there be a challenge. However, if you're allowed to invoke the REST API via powershell, you can use Invoke-WebRequest to handle setting the exclusions within your powershell script.
David Domask | Product Management: Principal Analyst
Leo0601
Enthusiast
Posts: 88
Liked: 8 times
Joined: Oct 13, 2020 1:40 pm
Full Name: Leo
Contact:

Re: How do I set DiskFilter and other exclude parameters

Post by Leo0601 »

@david.domask

Hi David,

Got it. We don't want to take the risk.

Thanks much for your confirmation.
matsusan
Novice
Posts: 3
Liked: 1 time
Joined: Feb 26, 2026 8:55 pm
Full Name: ryoma matsuyama
Contact:

[Merged][Feature Request] Add PowerShell support for per‑VM disk exclusion in Backup Jobs

Post by matsusan » 1 person likes this post

[Summary]
The Veeam GUI allows configuring per‑VM disk exclusion in backup jobs.
The PowerShell module does not provide any option to configure or modify disk exclusion.
This limitation makes large‑scale job automation difficult.

[Request]
Please add PowerShell support to:
- Exclude specific VM disks in a backup job
- Modify existing exclusion settings
- Retrieve the current disk selection state

[Reason]
Many environments create and update a large number of backup jobs through automation.
Without PowerShell support, disk exclusion must be configured manually in the GUI, which is slow and does not scale.

Best regards,
Matsuyama
david.domask
Product Manager
Posts: 3390
Liked: 800 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: How do I set DiskFilter and other exclude parameters

Post by david.domask »

Hi Matsuyama,

I've merged your post with an existing topic on the same subject. Request is noted, for now please use REST API to automate management of disk exclusions.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 14 guests