PowerShell: Jaan Igamees, kavalskript

From ICO wiki
Revision as of 10:35, 13 May 2011 by Vvinogra (talk | contribs)
Jump to navigationJump to search
Function SendMail(){
$MessageParameters = @{
From = "v.vinogradin@gmail.com"
To = "v.vinogradin@gmail.com"
Subject = "Ping ei toota! Vaata C:\ping.txt kataloogi"
Body = "Vaata faili"
SmtpServer = "mail.neti.ee"
}
Send-MailMessage @MessageParameters
}