Can someone please help me understand why the second Invoke-SqlCmd doesn't log anything even though it encounters an error? I am using PowerShell.
What can be done to overcome this?
Log file:
Can someone please help me understand why the second Invoke-SqlCmd doesn't log anything even though it encounters an error? I am using PowerShell.
What can be done to overcome this?
Log file: