With Windows Powershell it is possible to lookup the installed version within the registry.
Using C#, what is the most reliable way to determine if Powershell Core (6+) is available on a system, as well as what version?
Note: I appreciate it can be deployed via zip which complicates this, so specifically looking for "installed" instances.