Friday, 17 August 2012

PowerShell Script - Disable SQL login in a list of SQL Server


I created the below script the below script to disable a login in all SQL environment of an application when a user  access needs to be revoked temporarily.
Copyright © 2012 Vinoth N Manoharan.The information provided in this post is provided "as is" with no implied warranties or guarantees.

2 comments:

  1. Wonderful job.thanks for your job. hermes kelly

    ReplyDelete
  2. Is there a way to Enable it via powershell as well?

    ReplyDelete