What is PowerShell?

Interface (Wrapper) to Windows API.

 

In C# When we want to get all Process on the computer we use this:

using System.Diagnostics;

Process[] processlist = Process.GetProcesses();

foreach (Process theprocess in processlist) {
    Console.WriteLine("Process: {0} ID: {1}", theprocess.ProcessName, theprocess.Id);
}

And if we want to do it on a remote machine...

 

In Powershell Its Get-Service

You don't need to know C#, VB, VBS, Com, Cmd etc... Powershell Wrap all this in one Console.