0

我正在创建一个 ASP.net (C#) 网站,我需要完成一些有趣的任务,例如访问远程机器、创建用户帐户以及创建和共享文件夹。

请指导我这个?

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 回答