T-SQL Tuesday #016:Check Your Service Accounts with PowerShell

Posted by AllenMWhite on SQL Blog See other posts from SQL Blog or by AllenMWhite
Published on Tue, 08 Mar 2011 19:25:00 GMT Indexed on 2011/03/09 0:16 UTC
Read the original article Hit count: 261

T-SQL Tuesday #016:Check Your Service Accounts with PowerShell This T-SQL Tuesday is about Aggregate Functions. It may be a bit of a stretch, but a security best practice to use separate service accounts for all your SQL Server services, so I've written some PowerShell code to check to see if any account is used more than once on a given machine. I take advantage of the SQLWmiManagement DLL to find the SQL Server services, which is a safer bet than filtering on a service name. First I load the SQLWmiManagement...(read more)

© SQL Blog or respective owner

Related posts about Database Administration

Related posts about powershell