Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Is PSHELL using v5 of PowerShell?

Aug
1,929
71
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

Back
Top