Add command to set the instance authentication mode #9374
bilodeauj
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summarize Command's Functionality
Sometimes after having installed SQL Server there may be a need to change the authentication mode, let's say from Windows to Mixed Mode. I was unable to find an existing command in dbatools that allowed me change the Authentication Mode in SQL Server. The cmdlet should have the ability to provide a list list of sql instance, along with the desired Authentication mode and specify if the services should be restarted following the change in order for it to take effect.
Is there a command that is similiar or close to what you are looking for?
No
Technical Details
Here is some code i came up with and figured i'd share it back in the hopes that it might be useful to others, and might be able to be integrated into dbatools
Beta Was this translation helpful? Give feedback.
All reactions