Copy-DbaDbQueryStoreOption
Enrico van de Laar (@evdlaar) | Tracy Boggiano (@Tracy Boggiano)
Copy-DbaDbQueryStoreOption View Source Enrico van de Laar (@evdlaar) , Tracy Boggiano (@Tracy Boggiano) Windows, Linux, macOS Synopsis Replicates Query Store configuration settings from one database to multiple target databases across instances. Description Reads the complete Query Store configuration from a source database and applies those exact settings to specified destination databases. This lets you standardize Query Store behavior across your environment using proven configurations from production databases. The function handles version-specific settings automatically, supporting SQL Server 2016 through current versions with their respective Query Store features like wait statistics capture and custom capture policies.
Read more
dbatools