.\Get-ExchangeEnvironmentReport Get-Content "C:\Scripts\Computers.txt | -HTMLReport c:\report.html -SendMail:$true -MailFrom:you@example.com -MailTo:you@example.com -MailServer:smtp.example.com


.\Get-ExchangeEnvironmentReport Get-Content "C:\Documents and Settings\$igbia01\My Documents\PowerGUI.3.8.0.129\Computers.txt | -HTMLReport c:\report.html


# SERVER LIST PROPERTIES
	# Get computer list to check disk space. This is just a plain text file with the servers listed out.
	# $computers = Get-Content "C:\scripts\DiskSpaceReport\Servers\Servers.txt"; 
	$computers = Get-QADComputer -OSname *Server* | Select -ExpandProperty name
	$datetime = Get-Date -Format "MM-dd-yyyy_HHmmss



C:\Documents and Settings\$igbia01\My Documents\PowerGUI.3.8.0.129




.\DiskSpaceHTMLReport.ps1  -HTMLReport C:\Documents and Settings\$igbia01\My Documents\PowerGUI.3.8.0.129\DiskSpaceReport.htm -SendMail:$true -MailFrom:DiskSpace@rwe.com -MailTo:osagk@aol.com -MailServer:smtp.aol.com


$File = Get-ChildItem "\\ServerName\ShareName\Path\File.txt"


send-mailmessage -to "Alberto <tony.kerr@mpower.com>" -from "Test <test@rwe.comk>" -subject "Test mail" -smtpserver KFMEX37P


Send-MailMessage -SmtpServer KFMEX12P -From $emailFrom Alberto.Igbinedion@npower.com -To $emailTo Alberto.Igbinedion@npower.com -Subject $subject -Body $body

tony.kerr@mpower.com





Get-DiskSpaceReport -ComputerList C:\scripts\DiskSpaceReport\Servers\Servers.txt  -To osagk@aol.com -From osagk@aol.com -SMTPMail KFMEX12P