You want to rewrite an old batch file (.bat) into PowerShell. If you ask an AI, it will generate a plausible script in a few minutes.However, after rewriting, it often happens that "it runs, but the ...
The PowerShell pre-installed on Windows is version 5.1. It handles Japanese differently than the newer PowerShell 7. In the ...