generated at
PowerShell
Windowsのコマンドプロンプトに代わる、.NETベースのコマンドシェル。


Windows 10や11(24H2現在まで)に搭載されているバージョンは5なので古い
最新バージョン(PowerShell 7)はWingetGitHub経由で取得する必要がある
どの方法での取得が推奨されるかはちょくちょく変わる

Scrapboxではsyntax highlight未対応?
powershell
$condition = $true if ( $condition ) { Write-Output "The condition was true" }
ps1
$condition = $true if ( $condition ) { Write-Output "The condition was true" }