You are da man..and I will be buying it when its available. Dats fur sure!
From: Michael B. Smith [mailto:mich...@theessentialexchange.com]
Sent: Thursday, 8 January 2009 2:11 PM
To: MS-Exchange Admin Issues
Subject: RE: Powershell output to email
I cover this topic, in detail, in my upcoming
$msg = new-object system.net.mailmessage
$msg.body = $scriptoutput
Sent from my GoodLink synchronized handheld (www.good.com)
-Original Message-
From: Greg Mulholland [mailto:g...@krystaltek.com]
Sent: Wednesday, January 07, 2009 08:57 PM Central Standard Time
To: MS-Exchange Ad
I cover this topic, in detail, in my upcoming book: http://snurl.com/45ppf
Short answer, pass the string as $Body to this routine:
#- start file -
#send-mail.ps1
param ([string]$SMTPserver = "192.168.100.10",
[string]$SMTPport = "25",