Is PSHELL using v5 of PowerShell?

Here is a new addition to my TCSTART.BTM file;
Code:
iff %@pshell[$PSVersionTable.PSVersion.Major] lt 5 then
...which allows me to take action if PSHELL is using anything less than version 5 of PowerShell.

Joe
 

Similar threads