Thor Logo dbatools

Rename

Rename-DbaDatabase

Simone Bizzotto (@niphold)

Rename-DbaDatabase View Source Simone Bizzotto (@niphold) Windows, Linux, macOS Synopsis Renames database names, filegroups, logical files, and physical files using customizable templates with placeholder support. Description Systematically renames all database components using template-based naming conventions to enforce consistent standards across your SQL Server environment. This function addresses the common challenge of standardizing database naming when inheriting inconsistent systems or implementing new naming policies. The renaming process follows SQL Server’s object hierarchy and executes in this order:

Read more