{Edit - Thanks Doc!}
Windows Management Instrumentation - WMI CORE 1.5 (Windows 95/98)- WMI9X.EXE - WMICORE

Windows Management Instumentation - WMI CORE 1.5 (Windows NT 4.0) - WMINT4.EXE - WMICORE

Windows Management Instrumentation Downloads "Top Level"

Windows Management Instrumentation - WMI SDK

WMI Administrative Tools

Management (WMI) Extensions for Visual Studio .NET RTM Server Explorer

WMI - Windows Management Instrumentation - White Papers, etc...

Frequently Asked Questions - Windows Management Instrumentation

Microsoft Management Technologies Community Center
{/Edit}

WMI Inadvertently Cancels Intrinsic Event Queries (Q306274)

Windows Management Instrumentation: Patch Q306274 DOWNLOAD LINK

Windows Management Instrumentation (WMI) Tutorial Page

Windows Management Instrumentation (WMI) Tutorial Direct file

WMI has a restriction on syntax and valid characters for a WMI object path. The following are a list of invalid characters:
~` ! @ # $ % ^ & * ( ) + = [ ] { } | ;\" '< > , . ?

Questions with regard to

The interesting parts we find many time on the forums:
- how can I use it on Win9x and NT clients?
Most everything that is done under NT can be done with Win9x..
F.E. Win9x does not have Performance Counters
- where can I find additional information?
There are several links here in this FAQ
Several people have put together examples in the COM/UDF Forums of Kixtart.org
- where can I find the possible names/keys within a object?
It is helpful to have an object browser -
- when to use COM, WMI, ADSI, etc?
What is key with these technologies is remote execution of the scripts. You can do most of the actions internally to the script and do not need addtional programs to do the action.
- what are/aren't possible?
Most things are possible. If you are a VB Programmer, you can build your own objects.
- what are interesting links?
Again, there are several links referenced within this document

http://cwashington.netreach.net

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

What is ADSI?
Quote:


ADSI is a set of Active X Controls that abstracts the capabilities of directory services
from different network providers to present a single set of directory service interfaces.
Administrators can use ADSI services to manage network resources in a directory service,
no matter which network environment contains the resource. You can use ADSI to manage the
NetWare Bindery, NetWare NDS tree, the NT SAM, An LDAP compliant directory, such as
Microsoft Exchange Server 5.5 or the Active Directory in NT 5.0.




Show me some examples:
Most of these examples were taken from the Visual Basic Site 15 seconds and modified
to reflect proper usage with the Windows Scripting Host. http://www.15seconds.com

adding a user to a group
How do I add a user to a group using ADSI?
Code:

$DomainString = @DOMAIN
$UserString = "jdoe"
$GroupString = "GroupName"
$GroupObj = GetObject("WinNT://" + $DomainString + "/" + $GroupString)
$GroupObj.Add ("WinNT://" + $DomainString + "/" + $UserString)
$DomainObj = ""
$GroupObj = ""



adding a global user to a local group
How do I add a domain user to a local group using ADSI?
Code:

$PdcName = "ComputerName"
$ComputerName = "ComputerName"
$UserString = "jdoe"
$GroupString = "GroupName"
$GroupObj = GetObject("WinNT://" + $ComputerName + "/" + $GroupString)
$GroupObj.Add ("WinNT://" + $PdcName + "/" + UserString)
$DomainObj = ""
$GroupObj = ""


creating a share
How do I create a share using ADSI?
Code:

$FservObj = GetObject("WinNT://ComputerName/lanmanserver")
$newshare = FservObj.create("fileshare","test")
$newshare.path = "C:\temp"
$newshare.setinfo
$newshare =


starting an NT service
How do I start the browser service using ADSI?
Code:

$BrowserServiceObj = GetObject("WinNT://ComputerName/browser")
$BrowserServiceObj.start
$BrowserServiceObj = ""



WMI or What is called Windows Management Instrumentation..
http://cwashington.netreach.net/depo/default.asp?topic=wmifaq

Interesting site - http://www.dx21.com/INDEX.ASP?NTI=1&SI=1

http://msdn.microsoft.com/ - Microsoft Development Network

Technet Script Center

Windows Script Home Page

WMI - The missing manual -
WMI Scripting: The Missing Manual, Part 1

Download ADSI 2.5 -
Active Directory Service Interfaces (ADSI) 2.5

ADSI Overview -
Active Directory Service Interfaces Overview

Object Libraries

Type Library Viewer for Kix?

TypeLibViewer

Microsoft has an object viewer... Get it at: http://www.microsoft.com/com/resources/oleview.asp


All Attributes
The following attributes are defined by Active Directory
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/attributes_all.asp

Global Attributes
The following are the attributes that are contained in the global catalog.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/attributes_global.asp

LDAP Attributes for Active Directory
http://www.computerperformance.co.uk/Logon/LDAP_attributes_active_directory.htm

LDAP Properties for the User object
http://www.rlmueller.net/Name_Attributes.htm

Provider Support of ADSI Interfaces
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/provider_support_of_adsi_interfaces.asp

A Summary of the X.500(96) User Schema for use with LDAPv3
http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2256.html



Edited by NTDOC (2005-03-15 12:50 AM)
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's