JUST PUTTING IT OUT HERE, ALWAYS SKIPS MY MIND HOW TO FIND POWERSHELL VERSION. SPECIALLY BEFORE RUNNING SITECORE POWERSHELL SCRIPTS.
Script to find powershell version
$PSVersionTable.PSVersion
Good command to check if path contains for powershell
$Env:Path.split(";")| ? {$_ -like "*mongo*"}
Quick Links
Legal Stuff