dbareports
dbareports copied to clipboard
Add-DbrCmsToInventory
Point at the CMS, and add all registered servers to the dbareports inventory
Should take a parameter for a CMS name, plus optional parameters for a path (to import only the servers within that path), Environment, and Location.
Ex: Add-DbrCmsToInventory -CmsInstanceName MyCmsServer -Path "\Production\Boston" -Environment Production -Location Boston
If the CMS is organized by Environment\Location (or Location\Environment), we could potentially leverage that on import/export, to make it easier to do as scheduled true-up of inventories between dbareports & CMS.