Powershell v6+ use the executable name `pwsh.exe` instead of `powershell.exe`. This change adds support for determining the Windows version on systems that solely use `pwsh.exe` and don't have `powershell.exe` on the `PATH`. Fixes #156189. --------- Co-authored-by: Andrew Kolos <andrewrkolos@gmail.com>