Files
oam/knowledge base/powershell.md
2022-04-20 21:07:56 +02:00

735 B

Windows PowerShell

TL;DR

# print the value of the PATH environment variable
Write-Output $env:PATH

# calculate the hash of a file
CertUtil -hashfile path/to/file sha256

# get super user privileges
powershell Start-Process powershell -Verb runAs

Further readings