C#からPowerShellに配列を渡す方法がわかったのでメモ書き程度に… C#側 ソース C#側はInvokeメソッドの引数として配列を渡すだけです。 namespace PSSampleApp { using System; using System.Collections.ObjectModel; using System.Linq; using System.Management.Automation; using System.Management.Automation.Runspaces; class Program { // スクリプト名 static string psScriptName = @"./showMessage.ps1"; /// <summary> /// メイン /// </summary> /// <param name="args">引数</param