Hello,
On V12 on the main menu, there is a "VM Exclusions" tab.
How could I get them with powershell ?
I don't find the cmdlet.
Thanks
-
- Veeam Legend
- Posts: 842
- Liked: 132 times
- Joined: May 11, 2018 8:42 am
- Contact:
-
- Veeam Software
- Posts: 2021
- Liked: 673 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get VM exclusion
Hi,
VM exclusions are not yet supported in Powershell, planned for vNext. As a workaround, you can get excluded objects with this method:
Best regards,
Oleg
VM exclusions are not yet supported in Powershell, planned for vNext. As a workaround, you can get excluded objects with this method:
Code: Select all
$exclusions = [Veeam.Backup.DBManager.CDBManager]::Instance.Objs.GetAllDisabledObjects()
foreach ($exclusion in $exclusions) {
$object = [Veeam.Backup.Core.CHierarchyObj]::Find($exclusion.ObjectId)
$object | select Id, Name, Platform
}
Oleg
-
- Veeam Legend
- Posts: 842
- Liked: 132 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Get VM exclusion
Thanks for your answer !
Who is online
Users browsing this forum: No registered users and 15 guests