in vscode-extension/src/platform.ts [243:254]
private findPSCorePreview(): IPossiblePowerShellExe {
switch (this.platformDetails.operatingSystem) {
case OperatingSystem.Linux:
return new PossiblePowerShellExe(LinuxPreviewExePath, "PowerShell Preview");
case OperatingSystem.MacOS:
return new PossiblePowerShellExe(MacOSPreviewExePath, "PowerShell Preview");
case OperatingSystem.Windows:
return this.findPSCoreWindowsInstallation({ findPreview: true });
}
}