EtmStream listner for PowerShell
Get-TraceEventStream [-NameOrGuid] <string> [-DumpWithColor]
[-TraceLevel <TraceEventLevel> {
Always
| Critical
| Error
| Warning
| Informational
| Verbose
}] [<CommonParameters>]
Get-TraceEventStream [-WellKnownEventSource] <string> {
AspNetEventSource
| ConcurrentCollectionsEventSource
| FrameworkEventSource
| PinnableBufferCacheEventSource
| PlinqEventSource
| SqlEventSource
| SynchronizationEventSource
| TplEventSource}
[-DumpWithColor] [-TraceLevel <TraceEventLevel> {
Always
| Critical
| Error
| Warning
| Informational
| Verbose}] [<CommonParameters>]
Get-TraceEventStream Cmdlet output PSTraceEvent objects.
PS C:\> Get-TraceEventStream -NameOrGuid SampleEventSource -DumpWithColor
You can choose WellKnownEventSource providers.
PS C:\> Get-TraceEventStream SampleEventSource | Out-GridView