If you have installed PowerShell on your Mac, and you want to know which version are you on, follow the below commands on your terminal,
- Open Terminal App on your Mac (if you are using Macbook, press the F4 button to quickly launch it)
- Now type pwsh to move to the PowerShell shell.
- Here you need to execute $PSVersionTable table to display details about PowerShell.
PS /Users/c2ctech> $PSVersionTable Name Value ---- ----- PSVersion 7.3.4 PSEdition Core GitCommitId 7.3.4 OS Darwin 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:35 PST 2023; root:xnu-8792… Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
- The first line printed on the hashtable is the version of PowerShell on your Mac.

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Powershell,
- PowerShell: How to Check if a Module is Already Installed
- PowerShell: How to Write Output to a File
- PowerShell: Steps to Connect to connect to Exchange Online
- PowerShell Fix: Get-Help cannot find the Help files for this cmdlet on this computer
- PowerShell Traditional For Loop Example
- How to Run PowerShell Script as Administrator (Elevate)
- Update Powershell Using Command Line
- How to delete a file using PowerShell [Windows/macOS]
- PowerShell: Grep Command Alternative - Select-String
- PowerShell Concatenate String Examples
- How to add Sleep to PowerShell Script
- Connect Azure AD (Active Directory) for PowerShell
- How to Open PowerShell on Mac?
- List of PowerShell Function Commands for Mac
- How to Connect to Azure AD Account using PowerShell on Mac
- Download Google Chrome setup exe file using PowerShell
- Set Environment Variable in PowerShell for Mac
- How to switch to Powershell on Mac Terminal
- How to add sleep in Powershell Script
- PowerShell on Mac: The term get-service is not recognized as a name of a cmdlet, function, script file, or executable program
- How to Identify installed PowerShell version
- How to check PowerShell version
- How to install PowerShell on Mac using Brew
- PowerShell Switch Statement with Examples
- PowerShell ISE Alternative for Mac
More Posts:
- Cannot start Android Studio. No JDK found - Android-Studio
- Mac Auto Move Mouse Pointer Every X Seconds to Keep Screen Awake - MacOS
- HTML Images - Attributes and Formats - Html
- Steps to Kill a Running Process in Ubuntu Linux - Ubuntu
- Project JDK is not defined [IntelliJ IDEA] - Java
- Hotstar Disney+ mobile app test push notification - News
- Fetch as Google Crawl Error or Redirected Status - Google
- How to insert image into Google Sheets cell - Google