Get-DbaLastGoodCheckDB still returns warning with EnableException flag #9440
Unanswered
griffitmatt
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I want to be able to catch exceptions with my own try/catch. When I use the EnableException it still returns a warning message. (see below)
Get-DbaLastGoodCheckDB -SqlInstance test1234 -EnableException
WARNING: [17:55:20][Get-DbaDatabase] Failure | The network path was not found
Is there anything else I need to be doing?
Beta Was this translation helpful? Give feedback.
All reactions