Get Running / Stopped Services in PowerShell

Recent times I came across a blog where people have submitted many articles for fetching services using PowerShell.

Now PowerShell stable version is 4.0 and WMF 5.0 preview has been released. I found the below code worked in PowerShell 4.0 and faster than other codes.

Common PowerShell Code

PowerShell 4.0 Hidden Array Trick

I have used Select -First 5 (To make screen shot )

Enjoy PowerShell :)

See Also