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


Get-DbaRegisteredServersStore

Returns a SQL Server Registered Server Store object – useful for working with Central Management Store.

Screenshots

dbatools-Get-DbaRegisteredServerStore

Examples

Returns a SQL Server Registered Server Store Object from sqlserver2014a.

Get-DbaRegisteredServersStore -SqlInstance sqlserver2014a

Returns a SQL Server Registered Server Store Object from sqlserver2014a by logging in with the sqladmin login.

Get-DbaRegisteredServersStore -SqlInstance sqlserver2014a -SqlCredential (Get-Credential sqladmin)

Author

This command was created by Chrissy LeMaire. You can find Chrissy on Twitter.

Get-Help

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

Source Code

Want to see the source code? View Get-DbaRegisteredServersStore.ps1 on GitHub
 

Related commands