Get-ASTraceSubclass

Returns a list of the available event subclasses with their descriptions

Examples


---------- List event Subclasses --------------
    C:\PS>get-AsTraceSubclass localhost

returns a list of the trace subclasses from the localhost server.

---------- Table of Subclass IDs and Names --------------
    C:\PS>get-AsTraceSubclass localhost | Format-Table EventID, EventName, SubclassID, SubclassName - auto

Outputs a table of the Event Sub classes

Syntax

{ Get-ASTraceSubclass [[-ServerName] <String>] [<CommonParameters>] }

Parameters

-ServerName <String>
The name of the server to query for the trace event subclasses.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug,
-ErrorAction, -ErrorVariable, and -OutVariable. For more information,
type, "get-help about_commonparameters".


Last edited Jul 2, 2009 at 5:15 AM by dgosbell, version 1

Comments

No comments yet.