Find Powershell Version Windows 10 in Less than 5 Minutes! (Beginner’s Guide)
What About The Windows Command Line?The Windows command line is not the springiest of chickens anymore, if you know what I mean. With each passing year, the utility and functionality of the command line becomes more deprecated. But fret not, there is a solution. PowerShell!! We will look at the bare basics in this article and hopefully try and demystify this awesome environment and show you a few neat PowerShell Basics! Check out our article on bypassing the execution policy here. Why check my version of PowerShell?There are many good reasons why you might need to know which version of PowerShell that you are running. You might have some compatibility issues with modules that you are trying to install. There might be a version conflict with a script that you are trying to run. Check out our Keyboard Compare Article!There could be a problem with the built in commands such as a bug or command deprecation. There are tons of reasons. Luckily it is very easy to check in just a few simple key strokes of the keyboard.
What can you do with PowerShell?You can do anything you like with PowerShell. Anything from scripts, to applications and even dashboards can be easily created with no extensive coding experience required. All you need to do is make sure that you understand the syntax and commands that you enter into your script and you will be off to the races! If you would like to see what PowerShell can do, then take a look at our ‘What is PowerShell used for?’ article here.
PowerShell Tutorial: How do you install PowerShell?If you are using a modern Windows operating system like Windows 7, Windows 8, or Windows 10 (or Windows Server, for that matter) then great news, you already have it installed on your computer! Simply hit the Windows+R keys and open a run dialog, then type in ‘powershell.exe’. You will be greeted by this beautiful sight. Now that you have your PowerShell window open, you can start to experiment! (DISCLAIMER: Use caution, PowerShell is, as the name suggests, POWERFULL! If you are unsure about any commands then DON’T EXECUTE THEM. We take no responsibility for any damage you do to your computer, data, or anything else).
Check PowerShell Version Method 1So, with that out of the way, let’s check what version we have installed, shall we? Simply type:
This will give you the following output: How easy was that? Super easy!
Get-Host | Select-Object Version.
Check out our Keyboard Compare Article!Check PowerShell Version Method 2If you’d like a few more lines in your output for some strange reason, then you can out put the variable $PSVersionTable like so:
Et Voila! The great thing about having an object oriented system is that we can manipulate our output in so many different ways. For instance, if we wanted only the PSVersion property, we could type the following:
Now we only get the values of the version: Pretty neat huh?
That’s all folks!Thanks for taking the time to read through our first tutorial! We hope to make this the first of many, many quick tips and guides that will help you to learn the basics of many different IT related skills. Check out how to bypass the PowerShell execution policy in our blog post here. PowerShell is a biggie, and you can expect it to feature quite heavily in most Microsoft environments where you will be supporting infrastructure like Microsoft Exchange and Active Directory. The more you learn about PowerShell, the more you will understand how to script and create useful tools in the Windows Operating System, which will make you a better system admin, pen-tester or scripter! Until next time!
How to check your PowerShell version?
It's always important that you know how well secured and updated your system is, especially if it has sensitive data. To do this easily, just type the following command into a new Powershell window: $PSversionTable You will see all of the details related to what powershell can provide for any given machine.
How do I find the PowerShell version?
All you need to do is tyoe in either $PSVersionTable or $host command to a Powershell window.
What is current version of PowerShell?
The current version of PowerShell is 5.1. PowerShell Core is currently 7.2
How do I install latest version of PowerShell?
To install PowerShell on Windows, download the latest installer from GitHub. You can also find the most recent preview version which is now available for your convenience!
Does Windows 10 have PowerShell?
Yes it does, provided that access to PowerShell hasn't been disabled by your system admin.