WMI script for Windows Even viewer reading
Hi, I am not expert in windows scripting,Now I want script for Event viewer reading. I mean the script which can read event viewer and find out the particular error or warnings. Thanks in adavance SNIVAS
February 22nd, 2011 12:29am

Hello, for scripting the beter option is the scripting guys forum: http://social.technet.microsoft.com/Forums/en/ITCG/threadsBest regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2011 12:46am

Hi, You could run the cmdlet Get-EventLog with its parameters to query logs from Event Viewer directly in Windows PowerShell. Please refer to the following guide: Hey, Scripting Guy! How Can I Read from Windows Event Logs with Windows PowerShell 2.0? http://blogs.technet.com/b/heyscriptingguy/archive/2010/06/01/hey-scripting-guy-how-can-i-read-from-windows-event-logs-with-windows-powershell-2-0.aspx Use PowerShell Cmdlet to Filter Event Log for Easy Parsing http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/24/use-powershell-cmdlet-to-filter-event-log-for-easy-parsing.aspx Best Regards DalePlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
February 22nd, 2011 1:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics