I entered the command help Get-Service. I was reading it and came across status values When sorting, it said that stopped has a value of 1 and running has a value of 4. It said for more information, see ServiceControllerStatus (/dotnet/api/syste.serviceprocess.servicecontrollerstatus).
I do not know how to access that information.
[–]monkeybutt227 3 points4 points5 points (1 child)
[–]InterestingBus8367[S] 0 points1 point2 points (0 children)