How to check version of powershell
By FoxLearn 7/30/2024 3:27:35 AM 51
To check the version of PowerShell you're using, you can follow these steps.
1. Using PowerShell Command
Open your PowerShell, then Type the following command and press Enter.
$PSVersionTable.PSVersion
This command will display the version number of PowerShell installed on your system.
2. Using Command Line (cmd)
Open your CMD, then Type the following command and press Enter.
powershell -Command "$PSVersionTable.PSVersion"
This will launch PowerShell from within Command Prompt and display the version information.
3. Using the PowerShell Executable Path
Open your PowerShell, then Type the following command and press Enter.
(Get-Command powershell).FileVersionInfo | Select-Object ProductVersion
This command retrieves the file version information for the PowerShell executable and displays the product version.
The output will show the version number in a format like Major.Minor.Build.Revision
- Major: Major version of PowerShell.
- Minor: Minor version, which may include updates or enhancements.
- Build: The build number, often indicating a specific build or release.
- Revision: The revision number, which may be used for very specific updates or patches.
Categories
Popular Posts
How to Download Chromedriver for Selenium
08/29/2024
C# Tutorial
07/20/2024
How to Download Microsoft SQL Server
06/22/2024
What is ARM architecture?
04/01/2024