I know there are multiple ways to skin the powershell cat and am currently settled on this solution.
In this example, I use 'Microsoft.SQLServer.Management.SMO.Server' to retrieve data (rather than a sql query) and write to a central database wit
In this example, I use 'Microsoft.SQLServer.Management.SMO.Server' to retrieve data (rather than a sql query) and write to a central database wit