Let’s start by listing the PowerShell Version

$PSVersionTable

Untitled

Let’s Specify only the PowerShell Version from the command.

$PSVersionTable.PSVersion

Untitled

We can specify the version we want to user in powershell

powershell -Version 2.0

PowerShell Cmdlet

The cmdlet in PowerShell is a .NET Classes.

Listing tasks in PowerShell.

tasklist

Untitled

Another way to list process.

ps

Untitled

Listing directories in PowerShell

Get-ChildItem

Untitled

Getting help in PowerShell.