Now updated for Windows Server® 2008 and Windows Vista®, this practical, pocket-sized reference delivers ready answers for using Windows command-line tools to manage multiple clients and servers. It’s packed with hundreds of examples that show you how to run, use, schedule, and script Windows commands, support tools, and Resource Kit tools—without touching the GUI. Written by a well-known author of more than two dozen computer books—and featuring easy-to-read tables, lists, and step-by step instructions—this POCKET CONSULTANT delivers fast, accurate information on the spot.
Windows Command-Line Fundamentals
Chapter 1 Overview of the Windows Command Line
Command Line Essentials
Making Supplemental Components Available
Chapter 2 Getting the Most from the Command Line
Managing Command Shell Startup
Working with the Command Path
Redirecting Standard Input, Output, and Error
Chaining and Grouping Commands
Chapter 3 Command-Line Scripting Essentials
Creating Command-Line Scripts
Common Statements and Commands for Scripts
Passing Arguments to Scripts
Getting Acquainted with Variables
Using Variables in Scripts
Using Mathematical Expressions
Command-Line Selection Statements
Command Line Iteration Statements
Creating Subroutines and Procedures
Windows Systems Administration Using the Command Line
Chapter 4 Deploying Windows Servers
Managing Server Configurations
Working with Roles, Role Services, and Features
Managing Roles, Role Services, and Features
Chapter 5 Managing Windows Systems
Examining System Information
Working with the Registry
Managing System Services
Restarting and Shutting Down Systems from the Command Line
Chapter 6 Event Logging, Tracking, and Monitoring.
Windows Event Logging
Viewing and Filtering Event Logs
Writing Custom Events to the Event Logs
Creating and Using Saved Queries
Monitoring Performance: The Essentials
Chapter 7 Monitoring Processes and Maintaining Performance
Managing Applications, Processes, and Performance
Detecting and Resolving Performance Issues Through Monitoring
Chapter 8 Managing Event and Performance Logging
Managing the Event Logs
Centralizing Event Logging Across the Enterprise
Performance Logging
Chapter 9 Scheduling Tasks to Run Automatically
Scheduling Tasks on Local and Remote Systems
Scheduling Tasks with Task Scheduler
Scheduling Tasks with Schtasks
Windows File System and Disk Administration Using the Command Line
Chapter 10 Configuring and Maintaining Disks
Getting Started with DiskPart
Installing and Managing Hard Disk Drives
Working with Basic and Dynamic Disks
Maintaining Disks
Defragmenting Disks
Chapter 11 Partitioning Basic Disks
Obtaining Partition Information
Creating Partitions
Managing Drive Letters and Mount Points
Formatting Partitions
Managing Partitions
Chapter 12 Managing Volumes and RAID on Dynamic Disks
Obtaining Volume Information and Status
Creating and Managing Simple Volumes
Providing Fault Tolerance with RAID on Dynamic Disks
Managing RAID and Recovering from Failure
Windows Active Directory Administration Using the Command Line
Chapter 13 Core Active Directory Services Administration
Controlling Active Directory from the Command Line
Making Directory Queries Using the DSQUERY Command
Searching for Problem User and Computer Accounts
Renaming and Moving Objects
Removing Objects from Active Directory
Chapter 14 Managing Computer Accounts and Domain Controllers
Overview of Managing Computer Accounts from the Command Line
Creating Computer Accounts in Active Directory Domains
Managing Computer Account Properties
Working with Domain Controllers
Designating Global Catalog Servers
Designating Operations Masters
Finding Read-Only Domain Controllers
Chapter 15 Managing Active Directory Users and Groups
Overview of Managing User Accounts from the Command Line
Adding User Accounts
Managing User Accounts
Overview of Managing Group Accounts from the Command Line
Adding Group Accounts
Managing Group Accounts
Windows Network Administration Using the Command Line
Chapter 16 Administering Network Printers and Print Services
Obtaining Support and Troubleshooting Information for Printers
Managing Printers
Managing TCP/IP Ports for Network-Attached Printers
Configuring Printer Properties
Solving Spooling Problems
Managing Print Queues and Individual Print Jobs
Backing Up and Restoring Print Server Configurations
Chapter 17 Configuring, Maintaining, and Troubleshooting TCP/IP Networking
William R. Stanek has over 20 years of hands-on experience with advanced programming and development. He has written nearly 100 books including: Microsoft Windows Vista Administrator's Pocket Consultant, Windows Server 2008 Inside Out, Microsoft Exchange Server 2007 Administrator's Pocket Consultant 2nd Edition, and Microsoft IIS 7.0 Administrator's Pocket Consultant (all from Microsoft Press). He also wrote MCSE Core Exams in a Nutshell and Windows Vista: The Definitive Guide for O'Reilly.