Sql-server – Execute Queries Against CMS within SSRS Reports

sql serverssrst-sql

Is it possible to execute queries against a Central Management Server (CMS) using SSRS?

For example, I know of no way to tell a stored procedure that it is inherently supposed to call the CMS, so it would seem some sort of qualifier to indicate that you are querying CMS (and which CMS) would need to be specified.

Best Answer

This is not possible using SSRS, but you can use powershell to read from CMS and then use the SQLCMD cmdlet to execute queries.