View on GitHub


A Powershell provider for SQL Server Analysis Services

Download this project as a .zip file Download this project as a tar.gz file

Cmdlet: Get-ASTraceSubclass

Returns a list of the available event subclasses with their descriptions


#--------------  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


Get-ASTraceSubclass [[-ServerName]([-ServerName) <String>] [<CommonParameters>](_CommonParameters_) }


-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

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