SQL Server 2012 Hosting – How to get SQL Server and SQL Server Agent Service Account Information for All Local Instances?

In this post, let me tell you about get Service Account for all local instances. If you have multiple instances of SQL 2012 server installed on a server you can write the below script to get SQL Server and SQL Server Agent service account information for all local instances. And here is the script that I used:

European SQL Server 2012 Hosting

I hope it works for you!

HostForLIFE.eu SQL Server 2012 Hosting
HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes. We have customers from around the globe, spread across every continent. We serve the hosting needs of the business and professional, government and nonprofit, entertainment and personal use market segments.