Description
dbatools is a free, open-source PowerShell module with more than 700 commands for SQL Server administration. It covers daily operations and critical projects. Start-DbaMigration migrates entire SQL Server instances, Export-DbaInstance captures complete instance configurations for disaster recovery, and Test-DbaLastBackup checks that backups actually restore before you need them. Other commands enable TDE encryption without manual certificate handling, set up log shipping for migrations with minimal downtime, and automate patching across an estate with Update-DbaInstance. The site says the module works on Windows, Linux and macOS and is installed with Install-Module dbatools. It also includes getting started material, a command reference, a technical FAQ, an MCP server page, a Slack community and GitHub issues. A book, Learn dbatools in a Month of Lunches, is published by Manning. The project is hosted on GitHub under the dataplat organisation.…
Highlights
- 700+ PowerShell commands for SQL Server
- Instance migrations and configuration export
- Backup restore testing and log shipping
- Windows, Linux and macOS
Ratings & Reviews
No ratings yet
Be the first to rate Dbatools.
People also visit
Sql-Server-DBA-Toolbox
A box of tricks (SQL scripts) that I've built up over many years for…
Dbatools FAQ
What is dbatools?
A free, open-source PowerShell module with more than 700 commands for managing SQL Server.
How do I install it?
Run Install-Module dbatools in PowerShell.
Which platforms are supported?
The site says Windows, Linux and macOS.
Can it migrate whole instances?
Yes. Start-DbaMigration migrates entire SQL Server instances.
Can it verify backups?
Yes. Test-DbaLastBackup checks that backups actually restore.
Where can I get help?
The site links getting started material, a technical FAQ, a Slack community and GitHub issues.
What are the best Dbatools alternatives?
Popular alternatives to Dbatools include Sql-Server-DBA-Toolbox, Portabase and Velld. See all Dbatools alternatives








