Stan wrote:
> [My apologies if I am posting this to the wrong newsgroup.]
microsoft.public.windows.server.scripting would have fitted better ;-)
> I'm writing a script that will run on a Windows 2003 Server computer. The
> script needs to create a share on a remote Windows 2003 Server computer. The
> script will run under the context of a user with local admin access to the
> remote server. How can I accomplish this? Thanks.
Command line:
RMTShare.exe:
http://www.jsiinc.com/asp/reghacks.asp?tipnumb=6353
VBScript/WMI:
See "Create a Network Share " at
http://www.microsoft.com/technet/scr...er/default.asp
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide:
http://www.microsoft.com/technet/scriptcenter