powershell script to export specific Windows application event
Posted on 2011-03-05
i need a script to export a specific Application event from a Windows 2008 server.
the script must export all information of this event and include the description.
the event id is (703 and 1221).
The script must stock the output result in local folder and email a copy of the file.
the script must only export this event with the effectif date, for exemple, if i lunsh the script 5 Marsh, the script must only export the log of event 703 and 1221 for the 5 MARSH.
Thanks for your help.