PowerShell available in two version PowerShell Core 6.2.1 and PowerShell 5.1.
PowerShell Core 6.0 is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux), open-source, and built for heterogeneous environments and the hybrid cloud.
Download the latest version from below link:
Platforms:Windows, Mac OS, Linux
Dependency: .Net Framework
EXE: powershell.exe
PowerShell 5.1 that is integrated into all recent versions of Microsoft's Windows operating system.
Download: By default, available in all windows OS.
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6
Platforms: Windows only (client and server)
Dependency:.Net Core
EXE: pwsh.exe
Below is the syntax to check version
$PSVersionTable
or
$PSVersionTable.PSEdition
0 Comments