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


Just for fun – checks the PowerShell Gallery for updates to dbatools. Notifies once max per release.

This command relies on Install-DbaWatchUpdate which sets up a scheduled task that checks PowerShell Gallery hourly.



To manually check the PowerShell Gallery for updates to dbatools. Otherwise, this will run every hour via Task Scheduler.



From PowerShell, execute Get-Help Watch-DbaUpdate -Detailed for more information on this function.

Source Code

Want to see the source code? View Watch-DbaUpdate.ps1 on GitHub

Related commands