Resources
- Everything you wanted to know about variable substitution in strings
- GitHub
- Tips for Writing Cross-Platform PowerShell Code
FAQ
Get SHA256 hash for a file
(Get-FileHash -Algorithm SHA256 -Path FILE_PATH).HashMake Ctrl+D close the shell
In profile:
Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExitCreate alias
E.g. in profile:
Set-Alias -Name <ALIAS> -Value <SOMEAPP.EXE>