How to Cheat at Windows System Administration Using Command Line Scripts

Book description

How to Cheat at Windows Systems Administrators using Command Line Scripts teaches system administrators hundreds of powerful, time-saving tips for automating daily system administration tasks using Windows command line scripts.

With every new version of Windows, Microsoft is trying to ease the administration jobs by adding more and more layers of graphical user interface (GUI) or configuration wizards (dialog boxes). While these ‘wizards’ are interactive and make the administrator’s job easier, they are not always the most convenient and efficient way to accomplish the everyday administration tasks. These wizards are time consuming and, at times, may seem a bit confusing. The purpose of the book is to teach administrators how to use command-line scripts to complete everyday administration jobs, solve recurring network problems and at the same time improve their efficiency.
  • Provides system administrators with hundreds of tips, tricks, and scripts to complete administration tasks more quickly and efficiently.
  • No direct competition for a core tool for Windows administrators.
  • Builds on success of other books in the series including How to Cheat at Managing Windows Small Business Server 2003 and How to Cheat at Managing Microsoft Operations Manager 2005.

Table of contents

  1. Cover image
  2. Title page
  3. Table of Contents
  4. Copyright
  5. Lead Author
  6. Technical Editor and Reviewer
  7. Contributing Authors
  8. Companion Web Site
  9. Introduction
  10. Part I: Getting Started with Command Line
    1. Chapter 1: Basics of the Command Line
      1. Introduction
      2. Basics of the Windows Command Shell
      3. Starting the Windows Command Shell
      4. Internal Commands for the Command Shell
      5. Command History
      6. Accessing the Windows Command Reference
      7. Installing Windows Support Tools
      8. Summary
    2. Chapter 2: Using Batch Files
      1. Introduction
      2. Working Safely with the Command Line
      3. Configuring the Command Path
      4. Using Command Redirection
      5. Using Groups of Commands
      6. Creating Batch Files
      7. Batch File Parameters
      8. Summary
    3. Chapter 3: Managing Scheduled Tasks
      1. Introduction
      2. Scheduling Tasks
      3. The Task Scheduler Service
      4. Configuring the Properties of the Task Scheduler Service
      5. Managing Tasks Using the Task Scheduler
      6. The schtasks Command-Line Utility
      7. Managing Tasks with schtasks
      8. Summary
  11. Part II: Basic Windows Administration
    1. Chapter 4: Managing Files and Directories
      1. Introduction
      2. Using Wildcards in Commands
      3. File and Folder Attributes
      4. Basic File and Folder Operations
      5. Duplicating and Comparing Disks
      6. Directory-Specific Commands
      7. Summary
    2. Chapter 5: Maintaining Hard Disks
      1. Introduction
      2. Physical and Logical Disks
      3. Understanding Basic and Dynamic Disks
      4. Supported File Systems
      5. Converting File Systems
      6. Summary
    3. Chapter 6: Managing Hard Disks with the Diskpart Utility
      1. Introduction
      2. The Diskpart Utility
      3. Diskpart Commands
      4. Scripting with Diskpart
      5. Obtaining Volume Information
      6. Managing Dynamic Volumes
      7. Managing Fault-Tolerant Volumes
      8. Summary
  12. Part III: Managing Windows Systems and Printers
    1. Chapter 7: System Services, Drivers, and the Registry
      1. Introduction
      2. Obtaining System Information
      3. Shutting Down and Restarting the System
      4. Managing System Services
      5. Obtaining Driver Information
      6. Managing the Windows Registry
      7. Summary
    2. Chapter 8: Monitoring System Events, Processes, and Performance
      1. Introduction
      2. Managing Event Logs from the Command Line
      3. Creating New Events
      4. Working with Event Triggers
      5. Viewing Logged Events
      6. Monitoring Application Processes and Tasks
      7. Using Filters with the TaskList and TaskKill Commands
      8. Working with System Performance
      9. Summary
    3. Chapter 9: Managing Printing Services
      1. Introduction
      2. Working with Printer Commands
      3. Installing a Local Printer
      4. Configuring and Renaming Printers
      5. Managing Printer Drivers
      6. Deleting All Printer Drivers from a Computer
      7. Creating and Configuring TCP/IP Printer Ports
      8. Managing Print Queues and Print Jobs
      9. Summary
  13. Part IV: Working with Active Directory
    1. Chapter 10: Overview of Directory Services Commands
      1. Introduction
      2. Getting Started with DS Commands
      3. Types of Objects for DS Commands
      4. Querying the Directory Database with DSQuery
      5. Adding New Objects with DSAdd
      6. Displaying Object Properties with DSGet
      7. Modifying Objects with DSMod
      8. Moving and Renaming Objects with DSMove
      9. Deleting Directory Objects with DSRm
      10. Summary
    2. Chapter 11: Managing Active Directory Users, Groups, and Computers
      1. Introduction
      2. Managing User Accounts
      3. Managing Group Accounts
      4. Managing Computer Accounts
      5. Managing Domain Controller Accounts
      6. Summary
  14. Part V: Windows Networking
    1. Chapter 12: Basic TCP/IP Networking Commands
      1. Introduction
      2. Overview of the Net Commands
      3. Starting and Stopping TCP/IP Services
      4. Troubleshooting Commands for TCP/IP
      5. Commands for Remote Computers
      6. Summary
    2. Chapter 13: Administering Network Services
      1. Introduction
      2. Overview of the NETSH Commands
      3. NETSH Commands for Troubleshooting
      4. Managing Interfaces with NETSH
      5. Managing Interface IP WINS Settings
      6. Managing Automatic Addressing Using DHCP Services
      7. NETSH Commands for AAAA
      8. Summary
  15. MS-DOS Commands Not Supported in Windows XP and Windows 2003
  16. Index

Product information

  • Title: How to Cheat at Windows System Administration Using Command Line Scripts
  • Author(s): Pawan K Bhardwaj
  • Release date: October 2006
  • Publisher(s): Syngress
  • ISBN: 9780080508269