Quantcast
Viewing all articles
Browse latest Browse all 467

Powershell script to capture SQL service status

Hello everyoneCan anyone offer some advice on how I would capture SQL server services, i.e started etc for each SQL instance in a .txt file containing the servers I want to look at ?One issue I have is that I need to use SQL authentication to connect to the boxes as they are across different domains.Any tips or help greatly appreciated.All I want is a list exported to excel , Server name , SQL Service status etc.Many thanks for any advice.

Viewing all articles
Browse latest Browse all 467

Trending Articles