Use Powershell to delete a logon trigger that has locked down a DB?

  • Hi,

    Is it possible to use Powershell to delete a logon trigger that has locked down a DB?

    Thanks, Phil

  • I would think so, but IIRC, you need to log in with the DAC to avoid these triggers and disable them.

  • Thanks, I'll test it out. We had an incident the other day, and I thought it might be best to keep a script on hand just in case someone else tries it on our Prod Monitoring server 😉 .

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply