Unyablog.

のにれんのブログ

2025-01-01から1ヶ月間の記事一覧

wsl.exe の出力を UTF-8 にして Powershell の Select-String や -match が動くようにする

Powershell で wsl.exe の出力をそのまま操作しようとするとうまく動かない。 PS C:\Windows\System32> wsl.exe --list --running | Select-String "U" Windows Subsystem for Linux Distributions: Ubuntu (Default) PS C:\Windows\System32> wsl.exe --lis…