I am trying to port some of my routine shell operations from powershell to cygwin, mainly as a training exercise, but also because I'm really starting to like some of the linux flavor tools. One thing I'm still trying to solve is to list / process the Windows services. Powershell had very convenient tools for this, for example:
stop-service [pattern] start-service [pattern] gsv (or get-service) [pattern]
I've been working with a lot of user services lately, and I would not want to switch to PowerShell to do this in my normal workflow. Has anyone worked this out? A few google attempts at this have been drowned out by a lot of things on how to deal with cygwin working as a service.
Any help / advice is greatly appreciated ...
source share