I’m usually lazy to remember which version of PowerShell (if any) was installed on each and every server in our site. Because each generation of OS has its own way to install/reinstall PowerShell, sometimes I need to see if it’s anything there already and I need to perform a clean up.
- Open PowerShell.
- Type the following:
- Press ENTER.
You should get something like this:
Windows 7 Enterprise, PS 2.0 RTM
Why do versions 2.0 RTM and 2.0 CTP3 have the same PowerShell version? Shouldn’t there be some difference in either Build or Revision number? How did they keep track of it until release? Well, for now it’s all just a mystery for me:
Windows 2003 R2 Standard SP2, PS 2.0 CTP3