开发者

Ways for Execute gacutil in remote machine

Is there a way to execute gacutil in to a particular (remote) machine given the IP address (or the workstation name) of the machine?

The machines in question are on an Active Directory Domain.

The user running the script probably won't have any special rights on either their local or the remote machine.

Some ca开发者_JAVA技巧ses, will be administrator in machine.

Operating system is Windows XP , and remote machine Win2008 and Win2003.

Any programming language is fine but ideally scripting:

  • DOS Batch file (bat, cmd)
  • VBScript (WSH)
  • psexec
  • C# (worst option for me)


Have you tried Remote Gacutil? http://remotegacutil.codeplex.com/

You can always use psexec:

copy %Proj_folder%\SomeDll.dll \\destinationHost\c$\Temp
psexec \\destinationHost gacutil -I c:\temp\SomeDll.dll
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜