Question Locked

Windows PoweShell

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Windows 7 machine and i want to run different PowerShell scripts and command but they can run specific PowerShell versions. How can i find current PowerShell version? Thanks

2 replies

by edizgeorgi

You can run different commands to get version but the most reliable and straighforward one is $PSVersionTable.PSVersion command . (link removed by moderator)

This discussion is closed to new replies.