Skip to content
  • Shirts
  • Mugs
  • Stickers
  • Blog
System Out Of Memory
Item added to cart. View cart and check out.
new drop | shop now

PowerShell - Determine installed PowerShell version

Jun 23, 2019 PowerShell - Determine installed PowerShell version

PowerShell June 23, 2019

Determining the installed PowerShell version on your machine is pretty straightforward. Though there is a few gotcha's so let's go over how to get your currently installed PowerShell version.

Solution:

Use $PSVersionTable.PSVersion to determine the engine version. If the variable does not exist, you can assume the installed version of PowerShell is version 1.0.

PS C:\> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
4      0      -1     -1

admin API array async Birthday BookGuide Button bytes c# c# enum to int c# int to enum c# int to string c# iterate dictionary c# loop through dictionary c# outofmemoryexception c# run as admin C++ cast cheatsheet CLASSPATH compare convert int to string Dad Dictionary editor enum exception exit Fathers Day for for loop foreach generic Gift gift guide Git global Guide HTML INNER JOIN int iterate Java java.lang.OutOfMemoryError Javascript jQuery JSON KnockoutJS list loop MERGE nested loop outofmemory PHP PHP Redirect PowerShell programmer gift programmer mugs programmer shirts programmer stickers python python bytes to string python external command python for loop python int to string quit random Redirect repr() shell command SQL SQL Server STDIN STDOUT str() string switch system.outofmemoryexception c# systemoutofmemory type UPDATE variables vi vim _

Back to The Programmer Blog

shop

2024

Product mockup
[system.outofmemory] Beanie
Shrinkflation Tee
Product mockup

2023

Product mockup
Product mockup
Product mockup

2020

C# Tee
Git Commit Git Out Tee
Python Sticker
Char Broiled Tee
Coffee Break Mug
GNU Sticker

2019

CSS Ninja Tee
Just Push It Live Tee
Eat Sleep Design Tee
C# Sticker
CSS3 Sticker
CSS Tee
Angular Sticker
JavaScript Sticker
JavaScript Hi Tee
C++ Tee
.NET Core Sticker
C# Good Morning Mug

2018

Eat Sleep Code Tee
Hip Hip Array Tee
Code Blooded Tee
It's A Feature Tee
Force Be With You Tee
C++ Sticker
Do It With Style Tee
Git Sticker
Code Mug
HTML5 Sticker
Chuck Norris Tee
HTML Tee
Algorithm Mug
Hotfix Mug

2017

Data Nerd Tee
Linux Sticker
Hacker Inside Sticker
No Comment Tee
Titanic Tee
ULong For Love Tee
Programmer Mug
Java Tee
System Out Of Memory shop code blog