posh | Windows Eventlog

 

get-content c:\script\servers.txt | c:\scripts\report-event.ps1 `

– report c:\script\eventlog.html –hours 48 –smtp mail.beerenss.nl `

–sendto eventlogs@beerens.nl –from eventlog@beerens.nl

 

The report-event script is attached.

ċ
Report-Events.txt
(15k)
Anibal Yeh,
Feb 22, 2012, 6:20 PM
Comments