実行する必要があるかどうか尋ねなければなりません
pipeline.Commands.AddScript(@"Import-Module 'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync\Lync.psd1'");
Lync Powershell コマンドレットを実行するたびに、または実行空間の初期化中に実行できる方法はありますか? Exchange サーバーの場合と同様に、たとえば
RunspaceConfiguration.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.E2010", out warning);
また、Lync Server Powershell コマンドレット (System.Management.Automation.Runspaces 以外) の C# プロジェクトに追加する必要があるアセンブリ参照も
前もって感謝します。