param ( [string]$subject = "Event log message", [string]$slug = "No slug provided" ) $body = "Event log message on $env:COMPUTERNAME. Info slug on the command line was: $slug. Please check your event logs because it's probably something serious." Send-MailMessage -from administrator@launionaflico.org -to jkawakami@launionaflcio.org -subject $subject -body $body -smtpserver 192.168.1.25