Windows Command-Line Administrator's Pocket Consultant ...
PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington 98052-6399 Copyright ? 2008 by William R. Stanek All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. Library of Congress Control Number: 2008927283 Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 QWE 3 2 1 0 9 8
Distributed in Canada by H.B. Fenn and Company Ltd.
A CIP catalogue record for this book is available from the British Library.
Microsoft Press books are available through booksellers and distributors worldwide. For further information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329. Visit our Web site at mspress. Send comments to mspinput@.
Microsoft, Microsoft Press, Access, Active Directory, BitLocker, Hyper-V, Internet Explorer, MS-DOS, SharePoint, SQL Server, Win32, Windows, Windows Media, Windows NT, Windows PowerShell, Windows Server, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
This book expresses the author's views and opinions. The information contained in this book is provided without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book.
Acquisitions Editor: Martin DelRe Developmental Editor: Karen Szall Project Editor: Maria Gargiulo Editorial Production: ICC Macmillan, Inc. Technical Reviewer: James Johnson, Technical Review services provided by Content Master,
a member of CM Group, Ltd Cover: Tom Draper Design
Body Part No. X14-71538
Contents at a Glance
Part I 1 2 3
Windows Command-Line Fundamentals
Overview of the Windows Command Line. . . . . . . . . . . . . . . . . . . . . . 3 Getting the Most from the Command Line . . . . . . . . . . . . . . . . . . . . 17 Command-Line Scripting Essentials . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Part II Windows Systems Administration Using the Command Line
4 Deploying Windows Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 5 Managing Windows Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6 Event Logging, Tracking, and Monitoring . . . . . . . . . . . . . . . . . . . . 105 7 Monitoring Processes and Maintaining Performance . . . . . . . . . . 125 8 Managing Event and Performance Logging . . . . . . . . . . . . . . . . . . 153 9 Scheduling Tasks to Run Automatically . . . . . . . . . . . . . . . . . . . . . . 191
Part III Windows File System and Disk Administration Using the Command Line
10 Configuring and Maintaining Disks . . . . . . . . . . . . . . . . . . . . . . . . . 225
11 Partitioning Basic Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
12 Managing Volumes and RAID on Dynamic Disks . . . . . . . . . . . . . . 279
Part IV Windows Active Directory Administration Using the Command Line
13 Core Active Directory Services Administration . . . . . . . . . . . . . . . . 297
14 Managing Computer Accounts and Domain Controllers . . . . . . . 315
15 Managing Active Directory Users and Groups . . . . . . . . . . . . . . . . 339
Part V Windows Network Administration Using the Command Line
16 Administering Network Printers and Print Services . . . . . . . . . . . . 371
17 Configuring, Maintaining, and Troubleshooting TCP/IP Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
iii
iv
Contents at a Glance
Appendix A Essential Command-Line Tools Reference . . . . . . . . . . . . . . . . 453 Appendix B Quick Reference for Netsh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
Table of Contents
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xix
Who Is This Book For? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xix How Is This Book Organized? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx Conventions Used in This Book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxi Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
Part I 2
Windows Command-Line Fundamentals
1 Overview of the Windows Command Line . . . . . . . . . . . . . . . . . . 3 Command Line Essentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Understanding the Windows Command Shell . . . . . . . . . . . . . . . . 4 Understanding the MS-DOS Command Shell . . . . . . . . . . . . . . . . 8 Understanding Windows PowerShell. . . . . . . . . . . . . . . . . . . . . . . . 9 Configuring Command-Line Properties . . . . . . . . . . . . . . . . . . . . 11 Working with the Command History. . . . . . . . . . . . . . . . . . . . . . . 12 Making Supplemental Components Available . . . . . . . . . . . . . . . . . . . 13 Using the Microsoft Remote Server Administration Tools for Windows Vista . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Registering the Remote Server Administration Tools Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Configuring and Selecting Remote Server Administration Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Removing the Remote Server Administration Tools . . . . . . . . . . 16 Removing the Remote Server Administration Tools Package . . 16
Getting the Most from the Command Line . . . . . . . . . . . . . . . . . . . . 17 Managing Command Shell Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Working with the Command Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Managing the Command Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Managing File Extensions and File Associations . . . . . . . . . . . . . 21
What do you think of this book? We want to hear from you! Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for you. To participate in a brief survey, please visit: learning/booksurvey
v
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- command line crash course computer village
- mac os x server command line administration
- windows command line administrator s pocket consultant
- using vmrun to control virtual machines
- to specify command line arguments in eclipse go to run
- pdf command line suite pdf tools ag
- using the command line interface cisco
- command line installation amd
- aws command line interface
Related searches
- windows command line tutorial pdf
- windows command line redirect
- windows command line parameters
- windows command line argument syntax
- windows command line cheat sheet
- windows command line pdf
- windows command line view file
- windows command line reference
- windows command line help
- windows command line reference pdf
- windows command line list files
- windows command line switch user