Home » 2017 » September

Send HTML Email and attachment using Powershell

 Powershell script to email  ###########Define Variables######## $date = “get-date” $fromaddress = “[email protected]” $toaddress = “[email protected]” $Subject = “Test $(get-date)” $body = Get-Content C:\temp\Test.htm #$attachment = “C:\sendemail\test.txt” $smtpserver = “SMTP Server name” #################################### $message = new-object System.Net.Mail.MailMessage $message.From = $fromaddress $message.To.Add($toaddress) #$message.CC.Add($CCaddress) #$message.Bcc.Add($bccaddress) $message.IsBodyHtml = $True $message.Subject = $Subject...
Continue reading

Free Vmware vsphere 6.5 training

Fell free to share with others… Features of vSphere 6 5 Lesson1.1 https://www.youtube.com/watch?v=XnvRAk7Fp6Y Introduction to the ESXi 6 Command Line Interface CLILesson1.1 https://www.youtube.com/watch?v=k0ikD9HXs-U The Course OverviewLesson1.1 https://www.youtube.com/watch?v=LD-ET-iKSXA Custom TCP IP Stacks Lesson2.1 https://www.youtube.com/watch?v=8L1Crj_Gu4o ESXi 6 Command Line Interface CLI for Networking Lesson2.1 https://www.youtube.com/watch?v=sPWDch4N50c Network I O Control Version...
Continue reading