cancel
Showing results for 
Search instead for 
Did you mean: 

use powershell send-MailMessage instead of Blat

puneet102
Level 4

I know that blat is the easiest way to configure smtp on NetBackup as per technote (https://www.veritas.com/support/en_US/article.100016001) but I don't want to use blat. Instead of blat, I am planning to use powershell command Send-MailMessage.

Can you please share the steps to configure it?


Thanks
Puneet Dixit
1 REPLY 1

davidmoline
Level 6
Employee

Hi @puneet102 

Mail on windows is generally sent from NetBackup using the script nbmail.cmd. 

Review the script and modify it to call/use the powershell Send-MailMessage command. The script is passed 4 arguments which can be used with the PS command. 

David