dbatools

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

https://dbatools.io/