0

ASP.net (C#) Web サイトを作成していて、リモート マシンへのアクセス、ユーザー アカウントの作成、フォルダーの作成と共有などの興味深いタスクを実行する必要があります。

これで私を案内してください?

4

1 に答える 1

0

達成しようとしているタスクの範囲を考えると、Powershell が解決策になるかもしれません。

http://www.powershellpro.com/powershell-tutorial-introduction/ http://devinfra-us.blogspot.com/2011/02/using-powershell-20-from-aspnet-part-1.html

つまり、System.Management.Automation アセンブリを参照し、powershell オブジェクトを作成し、それを介して動的スクリプトを実行します。

于 2013-12-10T14:46:27.547 に答える