Re: Copy into remote machine

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 07/06/04


Date: Tue, 06 Jul 2004 17:41:12 +0200

SuderMan wrote:

> Hi,
>
> I would like that destination path means for example drive E:\ on a remote machine, one of the hundreds in the domain.
>
> maybe i'd have to first map drive as drive$ to remote computer ?
Hi

Using WMI isn't very good for this task, better to use a script
that either WSH's Scripting.FileSystemObject access the folder
on the remote computer using the admin shares on the remote
computer(s) (\\<some computer>\C$\Scripts).

-- 
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/community/scriptcenter/default.mspx


Relevant Pages

  • Some 80041001 Generic Failure accessing remote WMI
    ... "win32_BaseService" class remotely using WMI. ... We need to retrieve some WMI information from a remote computer running ... Windows 2003 SP1 without using an Administrator user. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: logoff.vbs
    ... > I can log people off remote workstations using WMI, ... Subject: ImpersoantionLevel other than impersonate ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.scripting.vbscript)
  • Re: managing shared folders with wsh
    ... The WMI option is exactly what I was looking for. ... >> I can't set permissions on the share. ... > Local or remote directories ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.wsh)
  • Re: Remote Execution through VBScript
    ... > to the remote computer before it starts it. ... > Another freeware program with similar merits to PsExec is Beyondexec. ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.server.scripting)
  • Re: Printer Admin Object
    ... Thanks but what I'm looking for is info on the printer admin object on the ... > and ports on local and remote computers. ... > Add and delete a local or remote printer. ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.vbscript)