Hello,
Is it possible to reset the SMTP configuration to it's default with powershell?
If I use disable-vbrnotification it only disable it but the values are still there (smtp server, from, to, authentication, port, ...) .
I would like to "reset" all veeam configuration to it's default and if I just disable it, I need to use the GUI because if authentication is used, I can't remove the credentials and I would like to have empty smtp sever name, from and to fields
Thanks for your help.
-
- Veeam Legend
- Posts: 824
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Reset notification configuration
matteu,
Unfortunately, no way to do it through official cmdlets, but you can try the workaround below to reset global mail options:
Best regards,
Oleg
Unfortunately, no way to do it through official cmdlets, but you can try the workaround below to reset global mail options:
Code: Select all
$defaultMailOptions = [Veeam.Backup.Model.CMailOptions]::CreateDefault()
[Veeam.Backup.Core.SBackupOptions]::SaveMailOptions($defaultMailOptions)
Oleg
-
- Veeam Legend
- Posts: 824
- Liked: 128 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Reset notification configuration
Maybe it could be added on next version ?
I see syslog feature is new implemented and come with a remove cmdlet. Maybe it's possible to improve the old one
?
I just test it and It's working fine thanks
I see syslog feature is new implemented and come with a remove cmdlet. Maybe it's possible to improve the old one

I just test it and It's working fine thanks

-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Reset notification configuration
Yes, I also noted it for vNext. Thanks!
Who is online
Users browsing this forum: No registered users and 19 guests