I wrote a PS-Script for a colleague and it did not work the first time on his machine (after installing PS 4 it is working).
As we are not globally rolling out the most recent PS Version, and my next Script would affect several people, I want to write it in a Low-Version-Compatible format.
Is there a way to check (or an IDE) which determines the needed version for a command or the whole script?
Thanks in advance :)