View on GitHub

powerSSAS

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

Returns a collection of trace objects from the server

Syntax

``` Get-ASTrace [-XmlaRestrictions ] [[-DatabaseName]([-DatabaseName) ] [[-ServerName]([-ServerName) ] [](_CommonParameters_)

Get-ASTrace [-ASServer ] [](_CommonParameters_)```

Parameters

-XmlaRestrictions <AdomdRestrictionCollection>
    Required?                    false
    Position?                    2
    Default value
    Accept pipeline input?       false
    Accept wildcard characters?  false

-DatabaseName <String>
    Required?                    false
    Position?                    3
    Default value
    Accept pipeline input?       false
    Accept wildcard characters?  false

-ServerName <String>
    The name of the server from which to get the list of server side Traces

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

-ASServer <Server>
    Required?                    false
    Position?                    1
    Default value
    Accept pipeline input?       true (ByValue)
    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".