For Windows 10/11:
- Open PowerShell, by typing Windows PowerShell in Search,
- Now run the command: Get-Host | Select-Object Version
- You should get the version of PowerShell as a result.
For macOS:
- Open Terminal App,
- Now switch to Powershell by typing: PWSH
- Type the command Get-Host | Select-Object Version
- You should get the version of PowerShell as a result.
Example:% PWSH PowerShell 7.2.1 Copyright (c) Microsoft Corporation. https://aka.ms/powershell Type 'help' to get help.

Using $PSVersionTable
PS /Users/code2care> $PSVersionTable
Name Value
---- -----
PSVersion 7.2.1
PSEdition Core
GitCommitId 7.2.1
OS Darwin 21.4.0 Darwin Kernel Version 21.4.0: Mon…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
More Posts related to Powershell,
- [Fix] Powershell - Term winget is not recognized as the name of a cmdlet function or script file
- Download Google Chrome setup exe file using PowerShell
- Run JumpCloud Commands in Powershell
- How to check PowerShell version
- How to upgrade PowerShell on Mac
- How to Open PowerShell on Mac?
- How to add sleep in Powershell Script
- How to switch to Powershell on Mac Terminal
- Update Powershell Using Command Line
- How to install powershell on macOS
- PowerShell ps1 script is not digitally signed, you cannot run this script on the current system
- How to Identify installed PowerShell version
More Posts:
- How to Set Background Wallpaper on macOS 13 Ventura - MacOS
- Change Google Chrome Browsers default download location - Chrome
- Safari appends .html extension to files that are downloaded - Mac-OS-X
- NewApi error : Finds API accesses to APIs that are not supported in all targeted API versions - Android
- Grep Alternative for Windows CMD or PowerShell: findstr - Windows
- Android Display Toast on Button Click - Android
- How to install tabnine on VS Code - HowTos
- Error: LinkageError occurred while loading main class UnsupportedClassVersionError [Eclipse Java] - Java