Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\*\shell\PowerShellCore$pwshArch] "Icon"="$pwshPath" "MUIVerb"="Run with PowerShell Core" [HKEY_CURRENT_USER\Software\Classes\*\shell\PowerShellCore$pwshArch\Command] @="$pwshPath -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell Core ($pwshArch)'; if((Get-ExecutionPolicy ) -ne 'AllSigned') { Set-ExecutionPolicy -Scope Process Bypass }; & '%1'\""