Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

service account infomation from sql instance

$
0
0

Hello

Can I get all the SQL related services(sql server,agent,reporting server etc) information like serviceaccount being used,status by passing sql instance name and not the windows server name?

I can get using windows machine name using

gwmi win32_service -computername but if I pass instance name it fails.

Appreciate your help


Viewing all articles
Browse latest Browse all 6937

Trending Articles