To find which PowerShell Version your computer is running you simply need to type the following cmdlet:
Get-Host
The Get-Host Cmdlet will show you if you are running version 1 or 2.
Tech Tips for Azure, OpenAI, & More NTWeekly.COM
Navigate the Cloud, Master the Code