#Powershell and Send-MailMessage cmdlet

#Exchange2010 – Found this and it’s damm handy and what’s cool is that its a Windows Powershell v2 thing and you don’t need Exchange :-|


Source: http://www.howexchangeworks.com/2009/11/send-emails-easily-using-powershell-v2.html 

-and-

Source: http://technet.microsoft.com/en-us/library/dd347693.aspx

The Send-MailMessage cmdlet sends an e-mail message from within Windows PowerShell.

Send-MailMessage –From Rajith@chakka.local –To Deepak@chakka.local –Subject “Test Email” –Body “Testing the cmdlet” –SmtpServer exch07.chakka.local

Leave a Reply

%d bloggers like this: