Thor Logo dbatools

Cms

Remove-DbaRegServerGroup

Chrissy LeMaire (@cl), netnerds.net

Remove-DbaRegServerGroup View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS Synopsis Removes server groups from SQL Server Central Management Server (CMS). Description Deletes specified server groups from Central Management Server, including all nested subgroups and registered servers within those groups. This permanently removes the organizational structure you’ve built in CMS, so use with caution. The function works with both local registered servers and CMS-based groups, and supports piping from Get-DbaRegServerGroup for targeted removal operations.

Read more

Managing Central Management Server

Chrissy LeMaire

SQL Server’s Central Management Server (CMS), first introduced in SQL Server 2008, “stores a list of instances of SQL Server that is organized into one or more central management server groups”. It’s a super useful feature that not all DBAs know about. Since CMS data is stored in msdb and accessible via SMO, you can access it from SQL Server Management Studio or PowerShell modules like dbatools. Central Management Server’s essential functionality includes:

Read more
← Previous
1 2
Next →
Page 2 of 2