Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Programming
»
Powershell
»
Use Powershell to delete a logon trigger that...
Use Powershell to delete a logon trigger that has locked down a DB?
Rate Topic
Display Mode
Topic Options
Author
Message
phil.layzell
phil.layzell
Posted Thursday, July 12, 2012 3:11 AM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:24 PM
Points: 49,
Visits: 220
Hi,
Is it possible to use Powershell to delete a logon trigger that has locked down a DB?
Thanks, Phil
Post #1328741
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Thursday, July 12, 2012 3:30 AM
SSC-Dedicated
Group: Administrators
Last Login: Yesterday @ 6:14 PM
Points: 31,421,
Visits: 13,734
I would think so, but IIRC, you need to log in with the DAC to avoid these triggers and disable them.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #1328753
phil.layzell
phil.layzell
Posted Friday, July 13, 2012 5:16 AM
SSC Rookie
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:24 PM
Points: 49,
Visits: 220
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
.
Post #1329368
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.