Forum Discussion
peter_s
Jul 16, 2023Copper Contributor
How can I easily get a remote service's start time?
I have an app that displays services on remote servers. I get the information by using
ManagementScope scope = new ManagementScope(thecomputerpath, options);
and wind through the ManagementObjects and get the service name, displayname, status and startmode. Unfortunately the object doesn't contain the start time of the service. Assuming it is not available in this object? Is there any easy way to grab the start time when I am looping maybe by grabbing the PID?
No RepliesBe the first to reply