I am trying to run a .bat file and retrieve stats speicific to sql servers performanace; however when I execute the .bat job, I continue to get the below error message.
I have enterprise admin, and local admin permissions on the machine.
Unable to access the desired machine or service. Check the permissions and authentication of the log service or the interactive user session against those on the machine or service being monitored.
Any help would be greatly appreciated.