/dbatools

PowerShell module to help SQL Server Pros be more productive

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

dbatools

This module is a SQL Server Pro's best friend.

The dbatools project initially started out as Start-SqlMigration.ps1, but has now grown into a collection of over 250 commands that help automate SQL Server tasks and encourage best practices.

dbatools logo

Got ideas for new commands? Please propose them as issues and let us know what you'd like to see. Bug reports should also be filed under this repository's issues section.

There's also nearly 800 of us on the SQL Server Community Slack in the #dbatools channel. Need an invite? Check out the self-invite page. Drop by if you'd like to chat about dbatools or even join the team!

Installer

This module is now in the PowerShell Gallery. Run the following from an administrative prompt to install:

Install-Module dbatools

Or if you don't have a version of PowerShell that supports the Gallery, you can install it manually:

Invoke-Expression (Invoke-WebRequest https://dbatools.io/in)

dbatools.io is awesome

This module has been documented in its entirety pretty much, using Markdown, at dbatools.io. Please go visit there, it's pretty.

To skip right to the documentation, visit the functions page or you can start with the getting started page.

We're preparing for our 1.0 release and will offer more documentation once it's complete. Sorry the getting started is lacking at the moment - we're working on it!