|
Guy recommends :
Find out which of your VMs are a waste of space and which VMs need more resources.
|
VBScript - For Windows NetworksIntroduction to VBScriptThis section provides you with free tutorials of VBScripts for Windows Server 2003/8 and XP and Windows 7. Many of the scripts are designed to create and manipulate Windows Active Directory objects. Each page has a tutorial explaining the methods you need to tackle a particular every-day network task. In addition to the scripts themselves, I provide learning points to explain how the VBScript builds objects such as Users, Computers and Groups. Please treat this page as a mini sitemap for free VBScript examples. VBScript Sections
Windows Server 2003/8 Active Directory Example Scripts
♦ Creating and Controlling Files with FSO (Scripting.FileSystemObject)
RegistryWMI (Windows Management Interface)WMI gives you the power to automatically collect hardware and software data. View WMI as a pipe connecting magically to the secret inner cave of the Microsoft operating system. This is a section for techies who want VBScripts to remotely control of their Windows networks. Study root\cimv2 here:
Guy
Recommends: WMI Monitor and It's Free!
|
|
|
|
VBScript in Windows Server 2003/8 conforms to the classic Object programming model. Objects such as Users have properties for example 'givenName' and 'description'. The most interesting part is the methods because they are used to manipulate the object, for instance, GetObject, CreateObject and ConnectObject. More often than not, the goal of our script is to set a value for a particular properties, for example Object = User, Property = givenName, Value = Guy.
It can be hard to pin down VBScript. There are no stand-alone executables, you do not compile VBScript as you would with C++. How does it work, I can hear you asking. Well VBScript works through a host WSH which reads plain scripts, compiles them and runs them. This means what ever is in those scripts is what gets done.
|
|
*
Custom Search
|
Guy Recommends: WMI Monitor and It's Free!
|
|
Author: Guy Thomas Copyright © 1999-2012 Computer Performance LTD All rights reserved. Please report a broken link, or an error to: | |