Synopses & Reviews
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.
About the Author
William R. Stanek has 20 years of hands-on experience with advanced programming and development. He is a leading technology expert and an award-winning author. Over the years, his practical advice has helped millions of programmers, developers and network engineers all over the world. He has written more than two dozen computer books. Current or forthcoming books include Microsoft Windows® XP Professional Administrator's Pocket Consultant, Microsoft Windows 2000 Administrator's Pocket Consultant, Second Edition, and Microsoft Windows Server™ 2003 and IIS 6.0 Administrator's Pocket Consultant.
Table of Contents
Acknowledgments; Introduction; Who Is This Book For?; How Is This Book Organized?; Conventions Used in This Book; Support; Part I: Windows Command-Line Fundamentals; Chapter 1: Overview of the Windows Command Line; 1.1 Command Line Essentials; 1.2 Making Supplemental Components Available; Chapter 2: Getting the Most from the Command Line; 2.1 Managing Command Shell Startup; 2.2 Working with the Command Path; 2.3 Redirecting Standard Input, Output, and Error; 2.4 Chaining and Grouping Commands; Chapter 3: Command-Line Scripting Essentials; 3.1 Creating Command-Line Scripts; 3.2 Common Statements and Commands for Scripts; 3.3 Passing Arguments to Scripts; 3.4 Getting Acquainted with Variables; 3.5 Using Variables in Scripts; 3.6 Using Mathematical Expressions; 3.7 Command-Line Selection Statements; 3.8 Command Line Iteration Statements; 3.9 Creating Subroutines and Procedures; Part II: Windows Systems Administration Using the Command Line; Chapter 4: Deploying Windows Servers; 4.1 Managing Server Configurations; 4.2 Working with Roles, Role Services, and Features; 4.3 Managing Roles, Role Services, and Features; Chapter 5: Managing Windows Systems; 5.1 Examining System Information; 5.2 Working with the Registry; 5.3 Managing System Services; 5.4 Restarting and Shutting Down Systems from the Command Line; Chapter 6: Event Logging, Tracking, and Monitoring.; 6.1 Windows Event Logging; 6.2 Viewing and Filtering Event Logs; 6.3 Writing Custom Events to the Event Logs; 6.4 Creating and Using Saved Queries; 6.5 Monitoring Performance: The Essentials; Chapter 7: Monitoring Processes and Maintaining Performance; 7.1 Managing Applications, Processes, and Performance; 7.2 Detecting and Resolving Performance Issues Through Monitoring; Chapter 8: Managing Event and Performance Logging; 8.1 Managing the Event Logs; 8.2 Centralizing Event Logging Across the Enterprise; 8.3 Performance Logging; Chapter 9: Scheduling Tasks to Run Automatically; 9.1 Scheduling Tasks on Local and Remote Systems; 9.2 Scheduling Tasks with Task Scheduler; 9.3 Scheduling Tasks with Schtasks; Part III: Windows File System and Disk Administration Using the Command Line; Chapter 10: Configuring and Maintaining Disks; 10.1 Getting Started with DiskPart; 10.2 Installing and Managing Hard Disk Drives; 10.3 Working with Basic and Dynamic Disks; 10.4 Maintaining Disks; 10.5 Defragmenting Disks; Chapter 11: Partitioning Basic Disks; 11.1 Obtaining Partition Information; 11.2 Creating Partitions; 11.3 Managing Drive Letters and Mount Points; 11.4 Formatting Partitions; 11.5 Managing Partitions; Chapter 12: Managing Volumes and RAID on Dynamic Disks; 12.1 Obtaining Volume Information and Status; 12.2 Creating and Managing Simple Volumes; 12.3 Providing Fault Tolerance with RAID on Dynamic Disks; 12.4 Managing RAID and Recovering from Failure; Part IV: Windows Active Directory Administration Using the Command Line; Chapter 13: Core Active Directory Services Administration; 13.1 Controlling Active Directory from the Command Line; 13.2 Making Directory Queries Using the DSQUERY Command; 13.3 Searching for Problem User and Computer Accounts; 13.4 Renaming and Moving Objects; 13.5 Removing Objects from Active Directory; Chapter 14: Managing Computer Accounts and Domain Controllers; 14.1 Overview of Managing Computer Accounts from the Command Line; 14.2 Creating Computer Accounts in Active Directory Domains; 14.3 Managing Computer Account Properties; 14.4 Working with Domain Controllers; 14.5 Designating Global Catalog Servers; 14.6 Designating Operations Masters; 14.7 Finding Read-Only Domain Controllers; Chapter 15: Managing Active Directory Users and Groups; 15.1 Overview of Managing User Accounts from the Command Line; 15.2 Adding User Accounts; 15.3 Managing User Accounts; 15.4 Overview of Managing Group Accounts from the Command Line; 15.5 Adding Group Accounts; 15.6 Managing Group Accounts; Part V: Windows Network Administration Using the Command Line; Chapter 16: Administering Network Printers and Print Services; 16.1 Obtaining Support and Troubleshooting Information for Printers; 16.2 Managing Printers; 16.3 Managing TCP/IP Ports for Network-Attached Printers; 16.4 Configuring Printer Properties; 16.5 Solving Spooling Problems; 16.6 Managing Print Queues and Individual Print Jobs; 16.7 Backing Up and Restoring Print Server Configurations; Chapter 17: Configuring, Maintaining, and Troubleshooting TCP/IP Networking; 17.1 Using the Network Services Shell; 17.2 Managing TCP/IP Settings; 17.3 Supporting TCP/IP Networking; 17.4 Troubleshooting TCP/IP Networking; Essential Command-Line Tools Reference; ARP; ASSSSSSSOC; ATTRIB; BCDEdit; CACLS; Call; CD; CHDIR; CHKDSK; CHKNTFS; Choice; Cipher; Clip; CLS; CMD; CMDKey; Color; Comp; Compact; Convert; Copy; Date; DCDIAG; DCGPOFIX; DEFRAG; DEL; DIR; Diskcomp; Diskcopy; Diskpart; DOSKey; DriverQuery; DSADD Computer; DSADD Group; DSADD User; DSGET Computer; DSGET Group; DSGET Server; DSGET User; DSMGMT; DSMOD Computer; DSMOD Group; DSMOD Server; DSMOD User; DSMOVE; DSQUERY Computer; DSQUERY Contact; DSQUERY Group; DSQUERY Partition; DSQUERY Quota; DSQUERY Server; DSQUERY Site; DSQUERY User; DSQUERY *; DSRM; Echo; Endlocal; Erase; ESENTUTL; EventCreate; Exit; Expand; FC; Find; FindStr; FOR; Forfiles; Format; FTP; FTYPE; GET-Eventlog; GET-Process; GET-Service; GETMAC; GOTO; GPUPDATE; HOSTNAME; ICACLS; IF; IPCONFIG; LABEL; MD; MKDIR; MORE; MOUNTVOL; Move; NBTSTAT; NET Accounts; NET Computer; NET Config Server; NET Config Workstation; NET Continue; NET File; NET Group; NET Localgroup; NET Pause; NET Print; NET Session; NET Share; NET Start; NET Statistics; NET Stop; NET Time; NET Use; NET User; NET View; NETDOM Add; NETDOM Computername; NETDOM Join; NETDOM Move; NETDOM MOVENT4BDC; NETDOM Query; NETDOM Remove; NETDOM Renamecomputer; NETDOM Reset; NETDOM ResetPwd; NETDOM Trust; NETDOM Verify; NETSH; NETSTAT; NSLOOKUP; PATH; PATHPING; PAUSE; PING; POPD; Print; Prompt; PUSHD; RD; Recover; REG Add; REG Compare; REG Copy; REG Delete; REG Query; REG Restore; REG Save; REGSVR32; REM; REN; RMDIR; Route; Runas; SC Config; SC Continue; SC Failure; SC Pause; SC QC; SC QFAILURE; SC Query; SC Start; SC Stop; Schtasks /Change; Schtasks /Create; Schtasks /Delete; Schtasks /End; Schtasks /Query; Schtasks /Run; SERVERMANAGERCMD; SET; SET-Service; SETLOCAL; SFC; SHIFT; Shutdown; Sort; Start; STOP-Process; Stop-Service; SUBST; SYSTEMINFO; TAKEOWN; TASKKILL; TASKLIST; TIME; TIMEOUT; TITLE; TRACERPT; TRACERT; TYPE; TYPEPERF; VER; VERIFY; VOL; WAITFOR; WBADMIN; WHERE; WHOAMI; Quick Reference for Netsh; Netsh; Netsh Advfirewall; Netsh Bridge; Netsh Dhcp; Netsh Dhcpclient; Netsh Firewall; Netsh Http; Netsh Interface; Netsh Ipsec; Netsh Lan; Netsh Nap; Netsh Netio; Netsh Nps; Netsh P2p; Netsh Ras; Netsh Routing; Netsh Rpc; Netsh Winhttp; Netsh Wins; Netsh Winsock; Netsh Wlan;