January 11th, 2016

PowerTip: Identify PowerShell Version

Doctor Scripto
Scripter

Summary: Learn how to easily find the version of Windows PowerShell, CLR, and WSMan.

Hey, Scripting Guy! Question How can I use Windows PowerShell to identify the version of Windows PowerShell that is running on my system?

Hey, Scripting Guy! Answer Use the $PSversionTable automatic variable (you can use Tab expansion to avoid some typing).
           The command and output are shown here:

image of command output

Category
Scripting

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.