commands

^

Get-DbaXESmartTarget

Author Chrissy LeMaire (@cl) , SmartTarget by Gianluca Sartori (@spaghettidba)
Availability Windows, Linux, macOS

 

Synopsis

Gets an XESmartTarget PowerShell job created by Start-DbaXESmartTarget.

Description

Gets an XESmartTarget PowerShell job created by Start-DbaXESmartTarget.

Syntax

Get-DbaXESmartTarget
    [-EnableException]
    [<CommonParameters>]

 

Examples

 

Example: 1
PS C:\> Get-DbaXESmartTarget

Gets an XESmartTarget PowerShell Job created by Start-DbaXESmartTarget.

Optional Parameters

-EnableException

By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message. This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting. Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch.

Alias
Required False
Pipeline false
Default Value False

 

Want to see the source code for this command? Check out Get-DbaXESmartTarget on GitHub.
Want to see the Bill Of Health for this command? Check out Get-DbaXESmartTarget.