power shell

@echo off
PowerShell -Command "Write-Host 'Hello, World!'"
pause

@echo off
PowerShell -ExecutionPolicy Bypass -File "C:\path\to\script.ps1"
pause

power shellコマンドの使用とpower shellファイルの実行





この記事が気に入ったらサポートをしてみませんか?