Blog Archive for September 14, 2016

Running Services from PowerShell

September 14, 2016

I wanted to obtain a list of the running services on my windows machine. This can be done from PowerShell with the command:

Get-Service | Where-Object {$_.status -eq "running"}

Discover Powershell Version

September 14, 2016

How do you find out what version of Powershell you are running?

Start Powershell and then type:

$PSVersionTable.PSVersion

at the prompt:

PS H:\> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1