Author | Chrissy LeMaire (@cl) , SmartTarget by Gianluca Sartori (@spaghettidba) |
Availability | Windows, Linux, macOS |
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.
Gets an XESmartTarget PowerShell job created by Start-DbaXESmartTarget.
Gets an XESmartTarget PowerShell job created by Start-DbaXESmartTarget.
Get-DbaXESmartTarget
[-EnableException]
[<CommonParameters>]
PS C:\> Get-DbaXESmartTarget
Gets an XESmartTarget PowerShell Job created by Start-DbaXESmartTarget.
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 |