Skip to content

Microsoft PowerShell

https://learn.microsoft.com/en-us/powershell/

Terminal window
(Get-FileHash -Algorithm SHA256 -Path FILE_PATH).Hash

In profile:

Terminal window
Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExit

E.g. in profile:

Terminal window
Set-Alias -Name <ALIAS> -Value <SOMEAPP.EXE>