【发布时间】:2013-12-10 14:40:25
【问题描述】:
我正在创建一个 ASP.net (C#) 网站,我需要完成一些有趣的任务,例如访问远程计算机、创建用户帐户以及创建和共享文件夹。
请指导我?
【问题讨论】:
-
您是否在此环境中使用 Active Directory?
标签: asp.net share remote-access user-accounts create-directory
我正在创建一个 ASP.net (C#) 网站,我需要完成一些有趣的任务,例如访问远程计算机、创建用户帐户以及创建和共享文件夹。
请指导我?
【问题讨论】:
标签: asp.net share remote-access user-accounts create-directory
考虑到您要完成的任务范围,听起来像 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 对象,并通过它执行动态脚本。
【讨论】: