For me requirement is to do a RDP to a specific server and after logging in to that server fetch all the services running on that particular server.
Can anyone please help me in this. What i am doing is after logging in to that server. i am opening run command and typing services.msc to see the services running. Is there any other way to get the list of services in a array?
Thanks in advance