Answered by:
How to tell what version of PowerShell you have

Question
-
I've googled it, searched the forums, but can't find how to see what version of PowerShell I have. I found "powershell.exe" on my computer in the System32 directory, but in the Details section of the Properties, it says it is version 6.1.7. As I understand, version 2 is the latest, and still don't know if version 2 works with SQL Server 2008.
I'm using Windows 7, 32 bit.
Can someone tell me how to tell what version I have? Thank you!- Moved by Kukjin LeeMicrosoft employee Monday, November 2, 2009 5:28 PM to find a right forum (From:Windows Perfmon and Diagnostic Tools)
Saturday, October 31, 2009 4:48 PM
Answers
-
6.1.7 is the build version.
If you have started PowerShell, enter
$PSVersionTable.CLRVersion
to the prompt, then press Enter. Or simply: $PSVersionTable, you will see there are versions of multiple things.
Regards,
Zoli
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 28, 2012 12:49 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, December 6, 2012 4:48 AM
Tuesday, November 27, 2012 4:11 PM -
By the way, there is a Windows Powershell forum, if you would like to ask further questions about PowerShell.
Regards,
Zoli
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 28, 2012 12:49 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, December 6, 2012 4:48 AM
Tuesday, November 27, 2012 4:12 PM
All replies
-
Thank you for visiting the Microsoft forum. This forum focuses on Perfmon, taskmgr, and resmon. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
Thanks.
Monday, November 2, 2009 5:28 PM -
6.1.7 is the build version.
If you have started PowerShell, enter
$PSVersionTable.CLRVersion
to the prompt, then press Enter. Or simply: $PSVersionTable, you will see there are versions of multiple things.
Regards,
Zoli
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 28, 2012 12:49 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, December 6, 2012 4:48 AM
Tuesday, November 27, 2012 4:11 PM -
By the way, there is a Windows Powershell forum, if you would like to ask further questions about PowerShell.
Regards,
Zoli
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 28, 2012 12:49 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Thursday, December 6, 2012 4:48 AM
Tuesday, November 27, 2012 4:12 PM