Christa Anderson's Scripting School for Windows administrators

Scripting can be a shortcut for Windows administrators. Windows scripting expert Christa Anderson gives tips on scripting basics as well as advanced scripts.

Christa Anderson, an expert on the subject of Windows administrative scripting, writes a monthly column, called Scripting School. Her column explores the ways that scripts can be used to manage Windows environments. Below you will find links to all of Christa's columns for SearchWinComputing.com.

October 2007: How to use PowerShell to build a disk cleanup utility
For people interested in how things tick, computers can be a satisfying test medium because the changes you make have an immediate effect. But it's also possible to make changes that can't be reversed or can only be reversed with a lot of pain. Christa explains how to use Windows PowerShell cmdlets to build a useful but potentially destructive utility for disk cleanup, and how to reduce the risk of using it.

August 2007: How to get process information with Windows PowerShell
This Scripting School column explains how to use PowerShell's get-process cmdlet to retrieve information about the processes on your computer and how to kill the unnecessary ones.

July 2007: Supplying arguments to Windows PowerShell scripts
You script a task when you expect to be doing that task more than once. But you probably won't run exactly the same task each time. Rather than saving one script for every eventuality, this column will show you how to make the scripts able to accept arguments and assign them to variables, in order to give those scripts more flexibility.

June 2007: How to save and run scripts with Windows PowerShell
This column examines how to save Windows PowerShell cmdlets and edit the language's settings so saved scripts will execute.

April 2007: Filtering output from Windows PowerShell
This column offers tips to make it easier to browse Windows Management Instrumentation (WMI) classes (without cheating) by filtering the content. All it takes is a new cmdlet and working with variables.

March 2007: Working with WMI providers to PowerShell
Windows PowerShell works with data from .NET 2.0. But .NET doesn't always contain the objects you need. Here's how to use PowerShell with Windows Management Instrumentation providers.

February 2007: Comparing Windows PowerShell and VBScript
This column compares the flexibility of Microsoft's new shell language, Windows PowerShell, to that of VBScript.

January 2007: Customizing a mapped drive inventory
Creating an inventory of mapped drives yields a useful file, but some filtering would help. Here's how to do that with string formatting functions and regular expressions.

December 2006: Creating an inventory of mapped drive connections
In this column, Christa goes back to the basics to help smaller enterprises keep track of user connections to mapped drives.

November 2006: Managing Group Policy with VBScript
In this column, Christa explains how you can use scripting to manage Group Policy with VBScript.

October 2006: Windows PowerShell
Find out where Christa thinks Windows PowerShell has advantages over VBScript.

September 2006: Replacing text with regular expressions
As a way of finding and replacing text in scripts, regular expressions allow you to do things that pattern matching doesn't. But becoming adept in using regular expressions takes practice.

August 2006: Expert answers to your scripting questions
Should you learn to script to perform a specific task? Christa tackles issues that have come up in readers' email and answers questions about killing a process and managing variables and string names.

July 2006: Writing a script for an office inventory system
This column tells you how to write a script for an inventory system that correlates the user name, computer name and cubicle name, then add this information to an Excel spreadsheet stored on a network share.

June 2006: Script creates office inventory
In this column, Christa responds to a reader who needs a script to create an inventory of his office's seating plan.

May 2006: A script for creating folders
Now that you know what's involved in programmatically creating new folders and setting permissions on them, it's time to examine the script that performs these tasks.

April 2006: Creating new folders and setting permissions
In this column, Christa discusses how to read an external file and how to create folders programmatically from a list of names.

March 2006: Nine links for online scripting resources
If you're looking for scripting resources, going online is a good place to start.

February 2006: Enhancing scripts that require user input
In this column, Christa explains how you can provide guidance to those using the scripts you write (so that running the utilities you create doesn't require reading the source code) and how you can set up scripts to run remotely.

January 2006: Taking inventory of drives
Save your script output to a file, and then use it to take inventory of the drives in use or to help administrators keep track of a heavily-used volume.

December 2005: Writing output to a text file
One problem with producing output from a script is that it's temporary. In this column, Christa explains how you can make your scripts write the output to a text file using the File System Object.

November 2005: Connect scripts to remote computers
You can save substantial time by running a script that connects to remote computers by name or as part of an Active Directory domain.

October 2005: Turning the environment with WshShell
In this column, Christa explains how to read the WindowsRegistry and record the value of a key in the Event Viewer.

September 2005: Windows Script Host arguments
In this column, Christa explains how to use an important object collection in Windows Script Host: named arguments.

August 2005: Find objects with Windows Scripting Host
In this column, Christa introduces you to a sampling of the Windows Scripting Host objects. It also discusses how they can help you perform administrative tasks and work with your Windows environment.

July 2005: More on scripting and connecting to network resources
In this column, Christa offfers some scenario-based variations, along with a sample script.

June 2005: Scripting and connecting users to network resources
In this column, Christa explains how to use tools that let you identify users and computers outside a domain structure and make them connect to network shares -- depending on who and where they are.

May 2005: Advanced scripting concepts
In this column, Christa covers some advanced scripting concepts and offers tips that will help you debug scripts.

April 2005: Beginner's guide to scripting
Scripting is simpler than it looks and can save you substantial time and effort. In this column, Christa offers some basic scripting concepts.

ABOUT THE AUTHOR
Christa Anderson is the author of "Windows Terminal Services," and "The Definitive Guide to MetaFrame XP." She is also co-author of the book, "Mastering Windows 2003 Server."

Dig deeper on Microsoft Windows Data Backup and Protection

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close