2019-08-16 powershellのファイル(*ps1)にはドラッグ&ドロップできないのでbatファイル経由で行う os バッチファイルのサンプル @echo off powershell -ExecutionPolicy Unrestricted -File hoge.ps1 %*