Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExit
run $Profile
, create this path (dir and file), add in file some startup scripts
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.4
if access denied (during start powershell), this help - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4
me helped run as admin this command Set-ExecutionPolicy -ExecutionPolicy Bypass