PowerShell: Print Version

By Xah Lee. Date: .

Type $PSVersionTable

$PSVersionTable

# Name                           Value
# ----                           -----
# PSVersion                      7.2.5
# PSEdition                      Core
# GitCommitId                    7.2.5
# OS                             Microsoft Windows 10.0.19044
# Platform                       Win32NT
# PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
# PSRemotingProtocolVersion      2.3
# SerializationVersion           1.1.0.1
# WSManStackVersion              3.0
powershell windows 2021-01-10 SgYJZ
powershell on Windows 2021-01-10
powershell macos 2020-03-19 8jtfn
PowerShell on MacOS, 2020-03-19
2017 05 09 162151 705x535 scrot
powershell on linux 2021-01-16

PowerShell Intro

PowerShell

Practical How-To

list files

list dirs

on dir

on file

Windows config

misc


PowerShell in Depth

Programing PowerShell

Value Types

String

Variable

Boolean

Conditional

Data Structure

Loop and Iteration

Input/Output

Function

Profile and Script

Script Examples