PowerShell implements diagnostic cmdlets in Microsoft.PowerShell.Diagnostics module. This module implements necessary PowerShell cmdlets to manage event logs, performance counters, and Event Tracing for Windows. There are five diagnostic cmdlets available as listed below:
- Export-Counter
- Get-Counter
- Get-WinEvent
- Import-Counter
- New-WinEvent
To find more information about each of them, check out here: http://technet.microsoft.com/en-us/library/hh849684.aspx
About Nirmal Sharma
Nirmal is a MCSEx3, MCITP and was awarded Microsoft MVP award in Directory Services. He is specialized in Directory Services, Microsoft Clustering, Hyper-V, SQL and Exchange and has been involved in Microsoft Technologies since 1994. In his spare time, he offers technical help by writing tips and articles. Nirmal can be reached at [email protected].