Free blog counters The Portable Script Center Version 3.0
Computer Repair-Tech
147 North Canyon Blvd
Monrovia CA 91016
United States
Tel: (626) 358-2751
Tel: (626) 974-5621

The Portable Script Center
Version 3.0, edited by Maurice Dosso, January 22 2010, in Monrovia, California , USA
 

This help file contains all the scripts found in the TechNet Script Center (microsoft script center) as of November 5, 2004. Most of the scripts are designed to run with either Windows 2000, Windows XP, or Windows Server 2003, although many will also run on Windows NT 4.0 or Windows 98; in the latter two cases, however, you might need to install additional scripting technologies such as ADSI(Active Directory Service Interfaces) or WMI(Windows Management Instrumentation) before the scripts will work. For more information about obtaining and installing ADSI, WMI, and the latest version of Windows Script Host (WSH 5.6), see the Script Center’s Scripting FAQ.

To help you identify which scripts will work with your computers, each script is accompanied by a table similar to this:

Supported Platforms

Windows Server 2003

Yes

Windows XP

Yes

Windows 2000

Yes

Windows NT 4.0

Yes, with Active Directory Client Extensions installed

Windows 98

Yes, with Active Directory Client Extensions installed

To use the scripts, copy the appropriate script code, paste the code into Notepad or another text editor, and save the file with a .vbs file extension. You can then run the script either by double-clicking the icon in Windows Explorer or by typing cscript at the command-line followed by the script name (this is generally preferred method of running the scripts). For example, to run the script my_script.vbs, type the following:

cscript my_script.vbs

For more information about these scripts, contact the Microsoft Scripting Guys at scripter@microsoft.com. If you would like to keep informed of the latest additions to the Script Center, receive beta copies of scripting utilities, and otherwise keep up-to-date on what’s going on in the world of scripting, subscribe to the Scripting Newswire. To subscribe to this free service (which is nothing more than periodic emails sent by the Scripitng Guys), send mail to scripter@microsoft.com, with the subject line Subscribe.

If you are interested in learning more about these scripts and how they work, check out the Microsoft Windows 2000 Scripting Guide. Many (but by no means all) of these scripts are featured in the Scripting Guide, along with a step-by-step explanation of what they do, how they work, and how they can be modified to better fit your individual needs. The Scripting Guide also provides a good introduction to basic scripting technologies such as WSH, VBScript, WMI, and ADSI.

A Note About the WMI Scripts

Most of the WMI scripts in this repository create a variable named strComputer, and then set the value of that variable to "." Thus, the scripts generally include this line:

strComputer = "."

This causes the script to run against the local computer. This is due to the way that the script has been composed, and the fact that WMI views a computer named "." as being the local computer. If you want to run the script against a remote computer, simply replace the "." with the name of the remote computer, surrounded by double quotation marks. For example, this line of code runs the script against a remote computer named PrintServer1:

strComputer = "PrintServer1"

This is the only change you need to make in order to run the WMI scripts against a remote computer. Bear in mind, however, that you will need to have administrative rights on the remote computer in order for the script to succeed. In addition, WMI must be installed both on the local computer and on the remote computer. Edited by Maurice Dosso, January 22, 2010 in Monrovia, California USA

 


TABLE OF CONTENTS:



1-	Active Directory:

	

Computer Accounts

Domains

Groups

Monitoring

Organizational Units

Sites and Subnets

Retrieving User Account Properties

User Account Management

Modifying User Account Properties

Passwords and Password Properties

User Account Status

2- Applications:

Fax Server

Indexing Service

User

3- Desktop:

Windows Activation

Windows and Explorer Settings

Internet Explorer

Basic Computer Information

Logon Sessions

System Restore

Special Folders

Startup and Shutdown

4- Directory Services:

Retrieving Information

Creating, Deleting, and Modifying Objects

Groups

User Accounts

5- Hardware:

Basic Hardware and Firmware

Peripherals and Devices

Video and Display

Memory

Monitoring

Ports and Slots

Batteries and Power Supplies

6- Internet Information Services 6.0: Internet Information Services 5.x:

Basic Administration

Applications and Application Pools

Compression

FTP Sites

Web Sites

Internet Information Services:

Basic Administration

Applications and Application Pools

Authentication

BITS Server(Background Intelligent Transfer Service )

Certificates

Compression

Filters

FTP Sites(File Transfer Protocol)

IMAP Server(The Internet Message Access Protocol )

Logging

NNTP Server(The Network News Transfer Protocol )

POP3 Server(Post Office Protocol )

SMTP Server(Simple Mail Transfer Protocol )

Web Sites

7- Logs:

Event Logs

Plain-Text Logs

8- Message:

Exchange Server 2003

SMTP Mail

9- Miscellaneous:

ADSI(Active Directory Service Interfaces )

Comments

Working with Databases

Dates and Times

Dialog Boxes

Dictionary Objects

Events and Monitoring

Retrieving Input

Retrieving Internet Resources

Displaying Output

Masking Passwords

Progress Bars

Searching Active Directory

Text Files

Web Pages and HTAs(HTML Applications)

WMI(Windows Management Instrumentation )

10- Network: Client:

Retrieving Network Configuration Information

Configuring Network Settings

Cluster:

Clustering

DNS:

Domain Name Server Management Tasks

DNS Records

Firewall:

Windows Firewall

Home Networking

Monitoring

SNMP(Simple Network Management Protocol)

11- Office:

Microsoft Excel

Microsoft Word

12- Operating System:

COM(Component Object Model) and DCOM

Dates and Times

Net Frameworks

Monitoring

Page Files

Processes:

Monitoring

Processes and Threads

Registry

Services

Task Scheduling

Version Information

13-

Group Policy

14- Printing:

Client-Side Printing

Printer Ports and Drivers

Print Servers, Queues, and Print Jobs

15- Security:

Script Signing

16- Sfunix(Services for UNIX ):

Basic Information

NFS(Network File Server)

Telnet Server

17- Shadow :

Shadow Copy

18- Service Packs:

Service Packs and Hot Fixes

19- Storage:

DFS(Depth-first search)

Disks: Drives:

Physical and Logical Disks

Hubs:

Controllers and Hubs

Monitoring

Files

Folders

File Systems

Disk Quotas

Shared Folders

20-

Client-Side Management

21- Terminal Service:

Retrieving Terminal Service Properties

Configuring Terminal Service Properties

Monitoring

Terminal Service User Accounts

22- Virtual Servers:

Virtual Server Access Rights and Security

Virtual Machine and Virtual Server Properties

Virtual Server Client Information

Virtual Disk Drives

Virtual Networks