Hello,
How is it possible to remove SNMP configuration ?
I just see the new-vbrsnmpreceiver and Set-vbrsnmpreceiver but what if I want to remove it ?
Thanks
-
- Veeam Legend
- Posts: 810
- Liked: 126 times
- Joined: May 11, 2018 8:42 am
- Contact:
-
- Veeam Software
- Posts: 2000
- Liked: 662 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Remove SNMP configuration
Hi matteu,
If you want to remove few receivers, but not the whole list, you can get by with the official cmdlets:
If you want to remove SNMP configuration completely, try this workaround:
Best regards,
Oleg
If you want to remove few receivers, but not the whole list, you can get by with the official cmdlets:
Code: Select all
$receivers = (Get-VBRSNMPOptions).Receiver
$newReceivers = $receivers | Select-Object -Skip 1 # skips the first item in the array
$newReceivers
Set-VBRSNMPOptions -Receiver $newReceivers
Code: Select all
[Veeam.Backup.DBManager.CDBManager]::Instance.Options.SaveSnmpReceivers(@())
Oleg
-
- Veeam Legend
- Posts: 810
- Liked: 126 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Remove SNMP configuration
Thanks for your answer, it's working perfectly to entirely remove the configuration with the "workarround" !
Who is online
Users browsing this forum: Bing [Bot], JonahM and 3 guests