dbatools is a free PowerShell module with over 300 SQL Server administration, best practice and migration commands included.

Please note that documentation and command names may be out of date while we work furiously towards 1.0


This function creates or changes configuration values. These are used in a larger framework to provide dynamic configuration information outside the PowerShell variable system.

This command is for dbatools developers. Please hit us up on Slack for more information.


This command was created by Friedrich Weinmann. You can find Fred on blogging at allthingspowershell.blogspot.de and Tweeting at @FredWeinmann


From PowerShell, execute Get-Help Set-DbaConfig -Detailed for more information on this function.

Source Code

Want to see the source code? View Set-DbaConfig.ps1 on GitHub

Related commands