in vscode-extension/src/platform.ts [230:241]
private findPSCoreStable(): IPossiblePowerShellExe {
switch (this.platformDetails.operatingSystem) {
case OperatingSystem.Linux:
return new PossiblePowerShellExe(LinuxExePath, "PowerShell");
case OperatingSystem.MacOS:
return new PossiblePowerShellExe(MacOSExePath, "PowerShell");
case OperatingSystem.Windows:
return this.findPSCoreWindowsInstallation();
}
}