{{category Windows PowerShell}} !!! 実行中スクリプト自身の情報 組み込みの環境変数 $MyInvocation 経由でアクセス可能。 $me = $MyInvocation.MyCommand $me.Name $me.Path