Home > Windows Server News > Tuning the environment with WshShell
Windows Server News:
EMAIL THIS LICENSING & REPRINTS

Tuning the environment with WshShell

By Christa Anderson, Contributor
05 Oct 2005 | SearchWinComputing.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

As we discussed in an earlier column, Wscript.Shell represents the local execution environment: the Registry, shortcuts, environment variables such as TMP and other aspects of the Shell. You'll use this object to find out more about the environment, to read from or write to the Registry, send keystrokes to an application or even to record what your scripts did in Event Log entries. .

Now, let's look at how to read the Registry and record the value of a key in the Event Viewer.


Scripting School: Tuning the environment with WshShell

  Introduction
  Contents of WshShell
  Viewing and editing the Registry
  Reading and writing to the Registry
  Recording the change
  Summary

Read all of Christa's scripting columns:
April 2005: Beginner's guide to scripting
May 2005: It's time to increase your scripting expertise
June 2005: Connect users to network resources
July 2005: More on connecting to network resources
August 2005: Find objects with Windows Scripting Host
September 2005: Windows Script Host arguments
October 2005: Scripting School: Tuning the environment with WshShell

ABOUT THE AUTHOR:
Christa Anderson
A Terminal Services MVP, Christa Anderson is the strategic technology manager for visionapp She formerly was program manager for the Microsoft Terminal Services team. She is an internationally known authority on scripting, the author of Windows Terminal Services, The Definitive Guide to MetaFrame XP, and co-author of the book Mastering Windows 2003 Server. If you have a scripting question for Christa, please e-mail her at editor@SearchWincomputing.com. She often uses these emails as fodder for her scripting columns.


Tags: Windows Systems Management and AdministrationVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts