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

SQL agent job failing with cannot open service control manager

$
0
0

Dear Experts,

I am able to run get-services from powershell command window/ise but when I schedule the same script in SQL agent job and execute, it is failing with cannot open service control manager.

Can anyone share your experience on this. Am I missing something?

 

Thanks

Brahma


Viewing all articles
Browse latest Browse all 6937

Trending Articles