If you copy the following to PowerShell, the script will run without any problems.
If you put a space between ★, the screen will drop without processing when you run it in powershell.
Even if you put pause in ●, it will fall off without stopping.
I was able to solve this question. The solution is to save the script itself from UTF-8 to ANSI and run Powershell to ensure it works.
© 2022 OneMinuteCode. All rights reserved.