Re: Copying and running processes on remote machines

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 02/15/05


Date: Tue, 15 Feb 2005 18:49:56 +0100

Amit M. wrote:

> Thanks for the help. Where can I go for more info on WMI?
Hi

WMI tutorials:

WMI Scripting Primer: Part 1
http://msdn.microsoft.com/library/en-us/dnclinic/html/scripting06112002.asp

WMI Scripting Primer: Part 2
http://msdn.microsoft.com/library/en-us/dnclinic/html/scripting08132002.asp

WMI Scripting Primer: Part 3
http://msdn.microsoft.com/library/en-us/dnclinic/html/scripting01142003.asp

WMI Scripting Primer in the Microsoft Scripting Guide
http://www.microsoft.com/resources/documentation/windows/2000/server/scriptguide/en-us/sas_wmi_overview.mspx

MSDN documentation:

MSDN: Windows Management Instrumentation
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_start_page.asp

Win32 Classes
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_classes.asp

WMI Registry Classes
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_registry_classes.asp

A lot of WMI examples here:

System Administration Scripting Guide
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942&area=search&ordinal=2

also available online at:

TechNet Script Center
http://www.microsoft.com/technet/scriptcenter/default.mspx

Especially see Scriptomatic 2.0 that is available in the link above.

WMI Examples/FAQ's:

http://cwashington.netreach.net/depo/default.asp?topic=wmifaq

http://communities.msn.com/WindowsScript/wmi.msnw

Other examples/tutorials on WMI:

Using WMI for Inventory Management
http://www.serverwatch.com/tutorials/article.php/1475601

"A WSH script using VBScript is explained. The script uses
WMI to query a computer for some predetermined information.
The acquired information is written to a database using ADO."

November 26, 2002
Setting Network Parameters Using WMI (Part 1)
http://www.serverwatch.com/tutorials/article.php/1548421

December 12, 2002
Setting Network Parameters Using WMI (Part 2)
http://www.serverwatch.com/tutorials/article.php/1556311

July 29, 2002
Managing Windows Registry with Scripting (Part 1)
http://www.serverwatch.com/tutorials/article.php/1476831

August 12, 2002
Managing Windows Registry with Scripting (Part 2)
http://www.serverwatch.com/tutorials/article.php/1476861

August 19, 2002
Managing Windows Registry with Scripting (Part 3)
http://www.serverwatch.com/tutorials/article.php/1476871

September 9, 2002
Managing Windows Registry with Scripting (Part 4)
http://www.serverwatch.com/tutorials/article.php/1476941

January 29, 2003
Windows Services Management With WMI (Part 1)
http://www.serverwatch.com/tutorials/article.php/1576131

February 11, 2003
Windows Services Management With WMI (Part 2)
http://www.serverwatch.com/tutorials/article.php/1582271

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


Relevant Pages

  • Re: WMI Reference
    ... You will be writing a complex custom application / script for that. ... A good way to get used to what Wmi is and the way it works is to use ... be detected by Sms, etc. ... Scriptomatic tool from the scripting tech center. ...
    (microsoft.public.sms.admin)
  • Re: 2 questions: uptime and last logged on users
    ... > For your computer uptime question: ... > ' Converts WMI Date and Time Format to standard date/time ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.win32.programmer.wmi)
  • Re: security center
    ... but you can query the PC's via WMI (Windows Management Instrumentation) scripting. ... The below script is for the local computer, and would need to be modified to determine all PC's on your network/domain and then query each computer individually and report when there is a problem. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Online Test
    ... Using ping seem to be a rather crude way. ... > Almost any method for communicating with a remote computer is going to have ... > WMI script to determine that a system is not there. ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.vbscript)