2019-07-12 【PowerShell】文字列の中身をコマンドとして実行する Windows PowerShell Invoke-Expressionコマンドレットを使う。 PS > $exe = Invoke-Expression "echo 'A'" PS > $exe A