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


Watch-DbaUpdate

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.

Screenshots

Examples

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

Watch-DbaUpdate

Get-Help

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