Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Buy Now $49.99
Standard view
Full view
of .
Look up keyword or section
Like this
2Activity

Table Of Contents

Chapter1
4CHAPTER1
Understanding Why the Command Line Is So Important
6CHAPTER1
The Command Line Made Easy
Using Utilities Directly
8CHAPTER1
Writing Scripts
Scheduling Tasks
Relying on Third Party Utilities
Viewing the Commands by Purpose
Data specific
System Status
File and Resource Management
Security and System Monitoring
Developer and Low-level Tasks
SERVICES
Active Directory
Services
Task Scheduling
Updating Your Current Utilities at the Microsoft Download Center
Configuring the Command Window
Setting the Window Options
Changing the Font
Choosing a Window Layout
Defining the Text Colors
Placing a Command Prompt at Your Fingertips
Understanding Internal Commands
GETTING STARTED WITH COMMAND LINE TASKS17
Getting Started with Command Line Tasks
Creating and Modifying Data Files and Directories
Opening Remote Directories with the Append Utility
Commands
Modifying Files with the Edlin Utility
Repairing System Databases with the ESEnTUtl Utility
Decompressing Files with the Expand Utility
Recovering Lost Files with the Recover Utility
Replacing Existing Files with the Replace Utility
Sorting File Content with the Sort Utility
Associating a Folder to a Drive with the Subst Utility
Displaying a Directory Structure with the Tree Utility
Performing Bulk File Transfers with the XCopy Utility
DISPLAYING DATA FILES43
Displaying Data Files
Working with Line Printers
Printing Data Files with the Print Utility
Performing a Formatted Printout with Notepad
Determining File and Directory Status
Comparing Two Files with the Comp Utility
Performing Advanced File Comparison with the FC Utility
Working with File Associations and Types
Performing Backups with the NTBackup Utility
Working with ODBC Data Sources
Configuring the ODBC Environment with the ODBCConf Utility
Creating an ODBC Data Source at the Command Line
MANAGING THE WINDOWS REGISTRY59
Managing the Windows Registry
Modifying the Registry with the RegEdit Utility
Scripting Registry Entries with the RegIni Utility
GETTING STARTED WITH COMMAND LINE TASKS61
Adding and Removing Servers with the RegSvr32 Utility
Getting System Status Information
Obtaining Driver Information with the DriverQuery Utility
Obtaining DirectX Status with the DXDiag Utility
Monitoring the File System with the FSUtil Utility
Managing Volume Labels with the Label Utility
Determining Memory Status with the Mem Utility
Obtaining General System Information with the MSInfo32 Utility
RECORDING SYSTEM STATUS INFORMATION81
Recording System Status Information
Managing System Events with the EventCreate Utility
Triggering System Events with the EventTriggers Utility
Working with Performance Information
Adding Performance Counters with the LodCtr Utility
Managing Performance Logs and Alerts with the LogMan Utility
Viewing the Results of Changes with the PerfMon Utility
Reconfiguring Performance Logs with the ReLog Utility
Tracking Performance with the TypePerf Utility
Removing Performance Counters with the UnlodCtr Utility
GETTING STARTED WITH COMMAND LINE TASKS95
Locating Files
Detecting Shared Open Files with the OpenFiles Utility
Locating Information in Files with the Find and FindStr Utilities
MONITORING FILES105
Monitoring Files
Changing File and Directory Attributes with the Attrib Utility
Changing File and Directory Access with the CACLs Utility
Determining File and Directory Status with the ChkDsk Utility
Performing Boot Time Disk Checks with the ChkNTFS Utility
Encrypting Data with the Cipher Utility
Compressing Data with the Compact Utility
Working with Other Resources
Converting Program Groups with the GrpConv Utility
Managing Power Settings with the PowerCfg Utility
Working with Terminal Server
Working with Remote Access Server
Setting Up a Telephony Client with the TCMSetup Utility
Communicating with Telnet
Managing the System Time with the W32Tm Utility
Working with the Network
Managing the ATM Call Manager with the ATMAdm Utility
Getting the Media Access Control Information with the GetMAC Utility
Getting the NetWare Routing Information with the IPXRoute Utility
Managing WinHTTP Proxy Configuration with the ProxyCfg Utility
Managing the Network with the Net Utility
Discovering TCP/IP Diagnostic Tools
MANAGING FTP SERVERS WITH THE FTP UTILITY171
Managing FTP Servers with the FTP Utility
Working with Users
Monitoring Users with the AuditUsr Utility
Configuring Profiles the CMStP Utility
Obtaining Group Policy Results with the GPResult Utility
Managing Group Policies with the GPUpdate Utility
Sending Messages with the Msg Utility
VIRUS AND EXTERNAL INTRUSION PROTECTION177
Virus and External Intrusion Protection
Removing Viruses with the BlastCln Utility
Managing the File System with the FltMC Utility
Detect and Remove Malicious Software with the MRT Utility
Verifying System Files with the SFC Utility
Verifying Drivers with the Verifier Utility
CONFIGURING THE SYSTEM SETUP183
Configuring the System Setup
Managing the Boot Configuration with the BootCfg Utility
Configuring Local Security Policies with the SecEdit Utility
Add and Removing Applications with the SysOCMgr Utility
Getting System Configuration Information with the SystemInfo Utility
Interacting with the Internet
Converting IIS Logs with the ConvLog Utility
Monitoring and Managing IIS with the IISReset Utility
Working with IP Version 6
WORKING WITH GENERAL APPLICATIONS191
Working with General Applications
Terminating Tasks with the TaskKill Utility
Listing Applications and Services with the TaskList Utility
Converting Event Trace Logs with the TraceRpt Utility
GETTING STARTED WITH COMMAND LINE TASKS195
Working with Automated System Recovery
Backing Up and Restoring System Data with the ASR_Fmt Utility
Working with Logical Disks Using the ASR_LDM Utility
Working with Protected Files Using the ASR_PFU Utility
Command
COMMAND
PERFORMING DISK MAINTENANCE203
Performing Disk Maintenance
Managing Removable Storage with the RSM Utility
Converting FAT Partitions to NTFS with the Convert Utility
Improving Disk Access Performance with the Defrag Utility
Compressing Files with the Diantz and MakeCAB Utilities
Managing Partitions with the DiskPart Utility
Mounting a Volume with the MountVol Utility
Managing Disk Performance with the DiskPerf Utility
Employing Low Level Utilities
Examining, Modifying, and Debugging Files with the Debug Utility
Converting Executables with the Exe2Bin Utility
Ensuring Proper Application Execution with the ForceDOS Utility
Terminating a Session Using the Logoff Utility
Performing System-Level Debugging with the NTSD Utility
Managing Compatibility Databases with SDBInst
ACCESSING FUNCTIONS WITHIN DLLS225
Accessing Functions within DLLs
Interacting with the WBEM Server with the WinMgmt Utility
Starting the Command Interpreter
Using the CMD Switches
Modifying Config.NT
Modifying AutoExec.NT
Modifying Application Behavior Using a PIF
Defining Application Compatibility with the SetVer Utility
Using Common DOS Utilities
WORKING AT THE COMMAND PROMPT263
Working at the Command Prompt
Clearing the Display with the CLS Command
Changing Screen Colors with the Color Command
Working with the System Date Using the Date Command
Tracking Command Line Actions with the DosKey Utility
Obtaining Command Line Help with the Help Utility
Working with the System Time Using the Time Command
Changing the Command Window Title with the Title Command
Creating Batch Files
Using the Call Command
Using the Choice Command
Using the Echo Command
Using the Exit Command
Using the For Command
Using the Goto Command
Using the If Command
Using the Pause Command
Using the Prompt Command
Using the Rem Command
Using the Shift Command
Understanding Scripting Languages
Learning the Basics of JavaScript
Learning the Basics of VBScript
Executing Scripts
Running Scripts with the CScript and WScript Utilities
Configuring the Host and Property Page Options
Scripting Networking Solutions with the NetSH Utility
CREATING A BASIC SCRIPT291
Creating a Basic Script
Scripting the Command Line and System Environment
Scripting the Registry
USING THE SCRIPTING OBJECTS295
Using the Scripting Objects
Working with the WScript Object
Working with the WScript.WshArguments Object
Working with the WScript.WshShell Object
Working with the WScript.WshNetwork Object
Impersonating a User with the RunAs Utility
Discovering Helpful Active Directory Utilities
Managing Active Directory with the DSQuery Utility
Managing the Active Directory Database with the NTDSUtil Utility
Working with Objects
Creating New Objects Using the DSAdd Utility
Listing Objects Using the DSGet Utility
Editing Existing Objects Using the DSMod Utility
Moving Existing Objects Using the DSMove Utility
Deleting Objects Using the DSRm Utility
WORKING WITH USERS, GROUPS, AND COMPUTERS 323
Working with Users, Groups, and Computers
Obtaining a User’s Logon Name
Obtaining a User’s Full Name
Discovering User Group Membership
Resetting a User’s Password
GETTING STARTED WITH COMMAND LINE TASKS325
Displaying a List of Hostnames
Starting and Stopping the Task Scheduler Service
Managing Tasks with the SchTasks Utility
Working with the AT Utility
Combining the AT Utility with Batch Files
CREATING SCRIPT-BASED SCHEDULER ACTIVITIES335
Creating Script-Based Scheduler Activities
Defining After Hours Task Candidates
Creating Message Queue Backups with the MQBkup Utility
Installing Applications with the MSIExec Utility
DESIGNING AND TESTING THE AFTER HOURS BATCH FILE345
Designing and Testing the After Hours Batch File
Adding Debug Information to Batch Files
Identifying Batch Files and Their Actions
Using a Centralized Data Store
DESIGNING AND TESTING THE AFTER HOURS SCRIPT353
Designing and Testing the After Hours Script
Mapping a Network Drive
Creating a CSV File
Creating Remote Connections with the MSTSC Utility
Providing Fault Tolerance for an After Hours Batch or Script
Using XVI32 to View Files in Depth
Moving Data with Send To Toys
Checking File Integrity Using FCIV
Getting the Better XCopy with XXCopy
WORKING WITH SHELL EXTENSIONS USING SHELLEXVIEW375
Working with Shell Extensions Using ShellExView
Obtaining Additional Information with ToggIt Command Line Helper
USING QUICK SHUTDOWN TO END A SESSION FAST
Using Quick Shutdown to End a Session Fast
CREATING A FRIENDLIER INTERFACE WITH PROMPTPAL
Creating a Friendlier Interface with PromptPal
Getting a More Functional Command Line with WinOne
Automating Email Using sendEmail
Editing All File Types with WinVi
OBTAINING A BETTER NOTEPAD WITH NOTEPAD+
Obtaining a Better Notepad with Notepad+
CREATING EXECUTABLE BATCH FILES WITH BATCH FILE COMPILER 5.2
Creating Executable Batch Files with Batch File Compiler 5.2
Develop and Compile Batch Files with Quick Batch File Compiler
UNDERSTANDING JAVASCRIPT AND VBSCRIPT COMPILERS
Understanding JavaScript and VBScript Compilers
Understanding the JSC Compiler Supplied with .NET
Using the JSC Compiler
Creating a Simple Example
GETTING STARTED WITH COMMAND LINE TASKS401
Working with the .NET Framework
Locating the .NET Framework on Your System
GETTING STARTED WITH COMMAND LINE TASKS
Understanding .NET Framework Configuration
Working with the Global Assembly Cache
Understanding .NET Security
Working with Code Groups
Creating and Defining Permission Sets
Defining Policy Assemblies
Adding Configured Applications
UNDERSTANDING THE USE OF CONFIG FILES
Understanding the Use of CONFIG Files
SETTING POLICIES USING THE CASPOL UTILITY
Setting Policies Using the CASPol Utility
PLACING ASSEMBLIES IN THE GLOBAL ASSEMBLY CACHE WITH GACUTIL431
Placing Assemblies in the Global Assembly Cache with GACUtil
Installing Assemblies with the InstallUtil Utility
Providing Multiple Browser Support with the ASPNet_ RegBrowsers Utility
Adding ASP.NET Support to IIS with the ASPNet_RegIIS Utility
Using the Command Line
Working with the ASPNet_RegSQL Utility Wizard
UNDERSTANDING THE ASPNET_STATE SERVICE451
Understanding the ASPNet_State Service
Understanding How Vista Changes Existing Commands and Utilities
Understanding How Vista Changes Existing Commands and Utilities
Understanding the Monad Difference
Using the New Vista Commands
Using the MSH Command Interpreter
Creating a Shell Extension with the Make-Shell Utility
Creating a Monad Script
Creating a Simple Script
Running the Script
Creating a Monad Cmdlet and Shell
Creating the Cmdlet Code
Compiling the Cmdlet Executable
Using the Make-Shell Utility to Create the Shell
Glossary
Index
P. 1
Windows Administration at the Command Line for Windows 2003, Windows XP, and Windows 2000: In the Field Results

Windows Administration at the Command Line for Windows 2003, Windows XP, and Windows 2000: In the Field Results

Ratings: (0)|Views: 70|Likes:
Published by Wiley
The only complete reference for Windows command lineutilities


Instant results for time-crunched IT professionals

The last thing you want as a busy systems administrator is to clickendlessly through the Windows GUI every time you need to perform asimple task. Want a better solution? Windows Administration at theCommand Line reacquaints you with the often-overlooked utilitiesaccessible through the command line in Windows 2003, XP, and2000.

Locate files, check system status, secure and monitor systems, andbest of all, save time by using scripts to automate yourtime-consuming management tasks. This practical book reveals allthe command line utilities and puts them right at your fingertips.The only resource on the market with the complete set of Windowscommand line utilities, this hands-on reference gives you solutionsthat yield superior results compared to GUI-based utilities,increasing your productivity in the field.

Inside you'll find:
* The complete set of all Windows command line utilities
* Real world scenarios that focus on practical applications
* Information on third-party utilities and scriptingtechniques
* Instructions for using the .NET Framework utilities
* A preview of Windows Vista utilities including detailedinstructions for using Monad and MSH
* An appendix with 52 command line tricks and techniques

In the Field Results
Provides seasoned systems administrators with advanced tools,knowledge, and real-world skills to use on the job. Going beyondwhat the standard documentation or classroom training provides,these practical guides address the real situations IT professionalsface every day, offering streamlined solutions to improveproductivity.
The only complete reference for Windows command lineutilities


Instant results for time-crunched IT professionals

The last thing you want as a busy systems administrator is to clickendlessly through the Windows GUI every time you need to perform asimple task. Want a better solution? Windows Administration at theCommand Line reacquaints you with the often-overlooked utilitiesaccessible through the command line in Windows 2003, XP, and2000.

Locate files, check system status, secure and monitor systems, andbest of all, save time by using scripts to automate yourtime-consuming management tasks. This practical book reveals allthe command line utilities and puts them right at your fingertips.The only resource on the market with the complete set of Windowscommand line utilities, this hands-on reference gives you solutionsthat yield superior results compared to GUI-based utilities,increasing your productivity in the field.

Inside you'll find:
* The complete set of all Windows command line utilities
* Real world scenarios that focus on practical applications
* Information on third-party utilities and scriptingtechniques
* Instructions for using the .NET Framework utilities
* A preview of Windows Vista utilities including detailedinstructions for using Monad and MSH
* An appendix with 52 command line tricks and techniques

In the Field Results
Provides seasoned systems administrators with advanced tools,knowledge, and real-world skills to use on the job. Going beyondwhat the standard documentation or classroom training provides,these practical guides address the real situations IT professionalsface every day, offering streamlined solutions to improveproductivity.

More info:

Publish date: Jun 27, 2006
Added to Scribd: Oct 24, 2013
Copyright:Traditional Copyright: All rights reservedISBN:9780470056554
List Price: $49.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

05/12/2015

554

9780470056554

$49.99

USD

You're Reading a Free Preview
Pages 12 to 14 are not shown in this preview.
You're Reading a Free Preview
Pages 26 to 251 are not shown in this preview.
You're Reading a Free Preview
Pages 263 to 431 are not shown in this preview.
You're Reading a Free Preview
Pages 443 to 458 are not shown in this preview.
You're Reading a Free Preview
Pages 470 to 554 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
scribd