Windows® Command-Line Administration: Instant Reference

Book description

The perfect companion to any book on Windows Server 2008 or Windows 7, and the quickest way to access critical information

Focusing just on the essentials of command-line interface (CLI), Windows Command-Line Administration Instant Reference easily shows how to quickly perform day-to-day tasks of Windows administration without ever touching the graphical user interface (GUI). Specifically designed for busy administrators, Windows Command-Line Administration Instant Reference replaces many tedious GUI steps with just one command at the command-line, while concise, easy to access answers provide solutions on the spot.

  • Provides practical examples, step-by-step instructions, and contextual information

  • Quick-reference style delivers the commands needed for managing data and the network; working with Active Directory; performing diagnostics and maintenance; and, creating batch files and scripts

  • Covers administration for Windows Server 2008 Server Core, Windows Server 2008 (including R2), and Windows 7

  • Administrators can get more done in less time with CLI than they can with the standard GUI. Compact enough to keep on hand at all times, Windows Command-Line Administration Instant Reference provides administrators with a convenient, fast and simple way to use CLI.

    Table of contents

    1. Cover
    2. Copyright
    3. Dear Reader,
    4. Dedication
    5. Acknowledgments
    6. About the Author
    7. Introduction
    8. Part I: Command Line Basics
      1. Chapter 1: Configuring the Local Machine
        1. Configure the Command Window
        2. Set the Environment
        3. Perform Common Tasks
        4. Obtain Command Line Help
      2. Chapter 2: Making Remote Connections
        1. Configure the Remote System
        2. Use the Remote Desktop Connection Application
        3. Terminate a Session
      3. Chapter 3: Automating Tasks
        1. View and Manage Tasks Using Scheduled Tasks
        2. Manage Tasks Using the SchTasks Command
    9. Part II: Managing Data
      1. Chapter 4: Working with File and Directory Objects
        1. Manage Directory Objects
        2. Manage File Objects
        3. Work with File Associations and Types
        4. Make Data Links
      2. Chapter 5: Administering File and Directory Content
        1. Execute Applications Anywhere
        2. Locate Information in Files
        3. Monitor the File System with the FSUtil Command
        4. Display Data Files
      3. Chapter 6: Managing the Hard Drive
        1. Save Hard Drive Space
        2. Manage the Volume
        3. Maintain the Volume
        4. Manage Partitions
      4. Chapter 7: Securing the Data
        1. Protect Data
        2. Change File and Directory Access
        3. Detect Shared Open Files
        4. Take Ownership of Files
    10. Part III: Managing the Network
      1. Chapter 8: Managing the Network
        1. Get the Media Access Control Information
        2. Interact with the Network Using the Net Utility
      2. Chapter 9: Working with TCP/IP
        1. Manage the Internet Protocol
        2. Use Basic Diagnostics
        3. Perform Detailed Network Diagnostics
        4. Get Network Statistics
        5. Manipulate the Network Routing Tables
      3. Chapter 10: Creating System Connections
        1. Perform Remote System Management
        2. Work with Terminal Server
    11. Part IV: Interacting with Active Directory
      1. Chapter 11: Configuring Directory Services
        1. Manage Directory Services Using the WMIC NTDomain Alias
        2. Manage Active Directory with the DSQuery Utility
        3. Manage the Active Directory Database
      2. Chapter 12: Working with Directory Objects
        1. Create New Objects
        2. Get Objects
        3. Edit Existing Objects
        4. Move Existing Objects
        5. Delete Existing Objects
    12. Part V: Performing Diagnostics
      1. Chapter 13: Monitoring System Events
        1. Create Simple System Events
        2. Trigger System Events
        3. Manage Event Information
      2. Chapter 14: Monitoring System Performance
        1. Add Performance Counters
        2. Manage Performance Logs and Alerts
        3. Create New Performance Logs from Existing Logs
        4. Remove Performance Counters
        5. Convert Event Trace Logs
    13. Part VI: Performing Maintenance
      1. Chapter 15: Performing Basic Maintenance
        1. Configure the Server
        2. Activate Windows
        3. Manage the System Time
        4. Manage the Boot Configuration
      2. Chapter 16: Managing System Users
        1. Audit User Access
        2. Work with Group Policies
        3. Obtain Session Status Information
        4. Get the User’s Identity
      3. Chapter 17: Securing the System
        1. Add Virus and External Intrusion Protection
        2. Change the Verifier Settings
        3. Configure Local Security Policies
        4. Work with General Applications
      4. Chapter 18: Interacting with the Registry
        1. Perform Basic Registry Tasks
        2. Use the SCRegEdit Script
        3. Manage the Registry
    14. Part VII: Creating Batch Files
      1. Chapter 19: Changing the Batch File Environment
        1. Use the CMD Switches
        2. Modify Config.NT
        3. Modify AutoExec.NT
      2. Chapter 20: Working at the Command Prompt
        1. Redirect Command Line Output to the Clipboard
        2. Manage Usernames and Passwords
        3. Change Screen Colors
        4. Configure the System Date
        5. Configure the System Time
        6. Change the Command Window Title
      3. Chapter 21: Creating and Testing Batch Files
        1. Use Batch File Commands
        2. Test Batch Files
        3. Store and Retrieve Directories with the PushD and PopD Commands
    15. Part VIII: Creating Scripts
      1. Chapter 22: Discovering Scripting Basics
        1. Use Scripting Languages
        2. Execute Scripts
      2. Chapter 23: Using the Scripting Objects
        1. Use the WScript Object
        2. Use the WScript.WshArguments Object
        3. Use the WScript.WshShell Object
        4. Use the WScript.WshNetwork Object
        5. Create a Basic Script
      3. Chapter 24: Creating Advanced Scripting Examples
        1. Script Registry Entries
        2. Script Networking Solutions
        3. Impersonate a User
        4. Change the Environment
        5. Map a Network Drive
        6. Create a .CSV File
    16. Appendix A: Alphabetical Command List
    17. Appendix B: Topical Command List
    18. Appendix C: Listing of Best Practices
      1. Always Verify the Data
      2. Real Administrators Use Help
      3. Test Your Theories on a Test System
      4. Use Batch Files, Scripts, and Written Procedures
      5. Make Backups
      6. Perform User-Specific Changes during Downtime
    19. Index

    Product information

    • Title: Windows® Command-Line Administration: Instant Reference
    • Author(s): John Paul Mueller
    • Release date: September 2010
    • Publisher(s): Sybex
    • ISBN: 9780470650462