I don't have one written up off-hand, but it would be easier to accomplish this using PowerShell/PowerCLI. Is there a specific reason why you want to directly query the SQL Server?
↧
I don't have one written up off-hand, but it would be easier to accomplish this using PowerShell/PowerCLI. Is there a specific reason why you want to directly query the SQL Server?