Claus Conrad

Home

❯

Microsoft PowerShell

Microsoft PowerShell

Apr 19, 20261 min read

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).Hash

Make Ctrl+D close the shell

In profile:

Set-PSReadlineKeyHandler -Key ctrl+d -Function ViExit

Create alias

E.g. in profile:

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

Graph View

  • Resources
  • FAQ
  • Get SHA256 hash for a file
  • Make Ctrl+D close the shell
  • Create alias

Backlinks

  • Microsoft 365
  • Mudlet
  • Windows Subsystem for Linux

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community