Windows に最初から入っている PowerShell は 5.1 です。新しい PowerShell 7 とは、日本語の扱いが違います。2026年の夏、自作のランチャーやメンテナンス用のスクリプトを書いていて、日本語がらみで3回つまずきました。2件は PowerShell 5.1、1件は同じ時期に書いた .bat の件です。 1. BOM なしの UTF-8 で保存した .ps1 が文字化け ...
Claude Code や Codex CLI のような AI エージェントに、Windows で作業を任せた事はありますか。日本語が「繧ウ繝シ繝」のような字に化ける。ちゃんと成功したのに「エラーが出たので別の方法を試します」と言い出す。AI ...
window_move.ps1は、ほとんどwindow_resizer.ps1を流用することができる。書き換えた結果は、次のようになる。 #!/usr/bin/env pwsh ...
RemoteApp cannot directly execute PowerShell .PS1 files -- a .CMD launcher script can be used to call powershell.exe and run the script. Execution policy and blocked script files can prevent ...
今回は、PowerShellの現状についてまとめてみることにした。なお、Windowsに標準添付されているWindows PowerShellとの違いは、下記の記事を参考にしてほしい(「PowerShellの今を見る2つあるPowerShellはどっち使えばいい?」)。 単体で入手してインストールがオ ...
ChatGPT can create PowerShell scripts for you. These proof-of-concept examples show how to find large files, list installed ...
On Windows 11 (and Windows 10), PowerShell is a powerful command-line interface designed to run commands and scripts that automate tasks and manage system settings. While it serves a similar purpose ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する