Fishpond Gift Vouchers - Let them choose!

Shop over a million Toys in our Huge New Range

Windows 7 Portable Command Guide
By

Rating

Product Description
Product Details

Table of Contents

IntroductionPart I: Command Prompt BasicsChapter 1 Launching and Using the Command Prompt 3Launching the Command Prompt 3Pinning the Command Prompt to the Start Menu and the Taskbar 4Launching the Command Prompt with Elevated Privileges 4Responding to the UAC Prompt 5Using the Built-in Doskey Program 7Creating Mini Macros in Doskey 9 Copying from and Pasting into the Command Prompt 9 Copy from the Command Prompt Window 10Paste Text into the Command Prompt Window 10Changing the Options and Display of the Command Prompt 11Chapter 2 Basic Rules When Using the Command Prompt 15Using Uppercase or Lowercase 15Using Quotes to Enclose Spaces 16Understanding Variables 17Understanding Switches 18Understanding Wildcards 18Getting Help 19Chapter 3 Using Basic Commands 27Understanding Folders and Directories 27Understanding Paths 28Viewing Files and Folders with dir 30Changing the Path with cd 31Using Drag and Drop to the Command Prompt Window 32Deleting Folders with rd 33Creating Folders with md 33Controlling Output with more 34Redirecting Output 35 Using the Redirect Symbol (>) 35 Using clip 35Using exit 35Part II: Working with Files, Folders, and DisksChapter 4 Manipulating Files and Folders 37Associating File Extensions with assoc and ftype 37 assoc 39 ftype 39Viewing Attributes with attrib 41Compressing Files with compact 43Encrypting Files with cipher 44Copying Files with copy, xcopy, and robocopy 46 copy 46 xcopy 47 robocopy 48Deleting or Removing Files with del50Expanding Cabinet Files with expand 51Taking Ownership of Files with takeown 51Removing the Windows.old Folder 52Mapping Drives with net use 53Chapter 5 Manipulating Disks 55Manipulating and Viewing Disks with diskpart 55 Creating a VHD File with diskpart 56 Modifying the BCD Store for the VHD File 57Defragmenting Volumes with defrag 59Converting to NTFS with convert 61Managing the File System with fsutil 62Part III: Scripting with Batch FilesChapter 6 Creating Batch Files 63Using Notepad 63Giving Feedback with echo 64Using Parameters 65Calling Another Batch File with call 68Clearing the Screen with cls 69Changing the Order of Processing with goto 69Checking Conditions with if 70Logging Events with eventcreate 73Looping Through Tasks with for 75Creating a Menu File 76 Documenting the Script with rem 76 Pausing for the User 77 Giving Users a Choice 77 Creating the Batch File 78Chapter 7 Scheduling Batch Files 81Scheduling Batch Files with Task Scheduler 81Scheduling Tasks from the Command Line 82 Creating a Scheduled Task with schtasks 83 Creating a Scheduled Task from an XML File with schtasks 83 Deleting a Scheduled Task with schtasks 85 Viewing Scheduled Tasks with schtasks 85 Changing Scheduled Tasks with schtasks 86 Running and Ending Scheduled Tasks with schtasks 87Part IV: Managing and Maintaining Windows 7Chapter 8 Using Windows 7 Maintenance Tools 89Controlling Power Settings with powercfg 89 Query the Power Settings with powercfg 89 Modify the Power Settings with powercfg 91 Analyze the Power Settings with powercfg 93Checking Memory with mdsched 93Manipulating Services with sc 95Collecting Events with wecutil 97Restarting Systems with shutdown 97Launching Control Panel Applets from the Command Line 99Chapter 9 Retrieving Information About Windows 7 103Viewing System Information with systeminfo 103Viewing User Information with whoami 106Launching System Configuration with msconfig 107Chapter 10 Managing Security in Windows 7 111Manipulating Credentials with cmdkey 111Installing Updates with wusa 112Installing Applications with msiexec 115Auditing Systems with mbsacli 116Chapter 11 Configuring Windows 7 with netsh 121Understanding netsh 121Understanding Contexts 122Configuring a Proxy Server 126Configuring the Network Interface with netsh 126Part V: Troubleshooting Windows 7Chapter 12 Configuring Windows 7 Using Basic Troubleshooting Tools 135Identifying the System Name with hostname 135Verifying Core System Files with sfc 135Checking Digital Signatures with sigverif 137Viewing Active Tasks with tasklist 138Terminating Processes with taskkill 142Viewing Installed Drivers with driverquery 144Chapter 13 Troubleshooting Network Issues 145Viewing and Manipulating TCP/IP Configuration with ipconfig 145Viewing the Physical Address with getmac 151Checking Connectivity with ping 152Viewing the Router Path with tracert 155Checking for Data Loss with pathping 155Checking for Records in DNS with nslookup 156Chapter 14 Using Recovery Tools 161Manipulating the Boot Process with bcdedit 161 Commands That Operate on a Store 165 Commands That Control Output 166 Commands That Control the Boot Manager 167 Commands That Operate on Entries in the Store 169 Commands That Operate on Entry Options 170 Disable Driver Signing 170Creating a System Repair Disc with recdisc 171Checking and Repairing Disks with chkdsk 172Repairing BitLocker Drives with repair-bde 175Part VI: Remote AdministrationChapter 15 Managing Remote Windows 7 Systems 177Configuring Windows 7 for Remote Administration 177Configuring System for Remote Desktop Connection (RDC) 177 Configuring System for Remote Access Using an MMC 180 Connecting to Remote Systems with mstsc 181Configuring Windows Remote Management with winrm 184Executing Commands Remotely with winrs 185Chapter 16 Windows Management Instrumentation Command Line 187Understanding wmic 187Configuring the Firewall to Allow wmic 188Running wmic 189Modifying the Format with the /format Switch 191Retrieving Help from wmic 194Understanding Aliases 194 Operating System Aliases 196 Disk Drive Aliases 197 System Hardware Aliases 198 User, Group, and Domain Aliases 200Using Verbs 200Part VII: Creating and Managing ImagesChapter 17 Understanding Images 203Understanding WIM Files 203Using Windows Deployment Services and Images 205Comparing Boot and Install Images 207Comparing Thick and Thin Images 213Chapter 18 Preparing a System to Be Imaged with Sysprep 215Understanding Sysprep 215Running the Sysprep GUI 216Running sysprep from the Command Line 217Chapter 19 Installing the Windows Automated Installation Kit 221Downloading the WAIK 221Installing the WAIK 221Viewing the WAIK Tools 224Chapter 20 Using imagex 227Creating WinPE on a Bootable USB 227Capturing Images with imagex 231Appending Images with imagex 233Deleting Images with imagex 235Deploying Images with imagex 235Chapter 21 Using the Deployment Image Service and Management (DISM) Tool 237Online Servicing Versus Offline Servicing 237Mounting Images 238Getting Information About Mounted Images 240Modifying Images 240 Working with Drivers 241 Working with Packages and Features 242 Miscellaneous Image Modifications 244Saving Images 245Part VIII: Working with WinPE and SetupChapter 22 WinPE Commands 247Add Drivers to WinPE with drvload 247Run Commands Within WinPE with wpeutil 248Chapter 23 Installing Windows 7 with setup 251Installing Windows 7 with setup 251Using the Autounattend.xml File 252Using slmgr 253 Basic slmgr Commands 254 slmgr Activation Commands 255 slmgr Commands Used for KMS Clients 256 slmgr Commands Used for Token-Based Activation 257Part IX: Migrating User Data with USMTChapter 24 Capturing User Data with scanstate 259Understanding Migration Stores 259Reviewing Migration Paths 259Understanding Hard-Link Migration Stores 263Capturing Migration Data with scanstate 265 Specifying XML Files 266 Modifying XML Files 266 Identifying Users to Migrate with scanstate 268 Encrypting the Migration Store with scanstate 269 Simple Error Handling with scanstate 270 Handling EFS Files 270 Migrating Data from the Windows.old Folder 271Chapter 25 Restoring User Data with loadstate 273Running loadstate 273Specifying XML Files 274Specifying Hard-Link Options 275Deleting the Hard-Link Store 275Identifying Users to Migrate 276Decrypting an Encrypted Migration Store 277Handling Errors 278Part X: Using PowerShellChapter 26 Understanding PowerShell Commands 279Launching PowerShell 279Understanding PowerShell Verbs and Nouns 280Tabbing Through PowerShell Commands 284Understanding the Different Types of PowerShell Commands 285Creating Aliases 286Discovering Windows PowerShell Commands 286Exploring get-member 288Redirecting Output with Windows PowerShell 291Understanding PowerShell Errors 291Understanding PowerShell Variables 293Using Comparison Operators 295Understanding Pipelining 296Chapter 27 Using the Integrated Scripting Environment (ISE) 299Launching the ISE 299Exploring the ISE 300Executing Commands in the ISE 302Creating and Saving a Script in the ISE 303Chapter 28 Creating and Running PowerShell Scripts 309Setting the Security Context 309Creating a PowerShell Profile 310Creating and Modifying the Global PowerShell Profile 312Running PowerShell Scripts 313Flushing the DNS Cache 314Creating a List of Domain Computers 315Logging Processes with a get-process Script 316Testing for the Existence of a File 318Creating Output as HTML 318Running a Script Against Multiple Computers 320Creating a PowerShell Message Box 322Scheduling PowerShell Scripts 326Part XI: Group Policy and the Command LineChapter 29 Group Policy Overview 329Understanding Group Policy Settings 329Blocking Inheritance 333Enforcing GPOs 334Using Loopback Processing 335Running Scripts with Group Policy 336Running PowerShell Scripts via Group Policy 339Chapter 30 Group Policy Command-Line Tools 341Viewing Group Policy Settings with gpresult 341Refreshing Group Policy Settings with gpupdate 343Appendix A Create Your Own Journal Here 347 9780789747358 TOC 3/16/2011

About the Author

Darril Gibson is the CEO of Security Consulting and Training, LLC. He regularly teaches, writes, and consults on a wide variety of security and technical topics. He's been a Microsoft Certified Trainer for more than ten years and holds several certifications, including MCSE (NT 4.0, 2000, 2003), MCDBA (SQL Server), MCITP (Windows 7, Server 2008, SQL Server), ITIL v3, Security+, and CISSP. He has authored, coauthored, or contributed to more than a dozen books. You can view a listing of most of his current books on Amazon: http://amzn.to/bL0Obo.

Ask a Question About this Product More...
Write your question below:
Look for similar items by category
How Fishpond Works
Fishpond works with suppliers all over the world to bring you a huge selection of products, really great prices, and delivery included on over 25 million products that we sell. We do our best every day to make Fishpond an awesome place for customers to shop and get what they want — all at the best prices online.
Webmasters, Bloggers & Website Owners
You can earn a 5% commission by selling Windows 7 Portable Command Guide: MCTS 70-680, and MCITP 70-685 and 70-686 on your website. It's easy to get started - we will give you example code. After you're set-up, your website can earn you money while you work, play or even sleep! You should start right now!
Authors / Publishers
Are you the Author or Publisher of a book? Or the manufacturer of one of the millions of products that we sell. You can improve sales and grow your revenue by submitting additional information on this title. The better the information we have about a product, the more we will sell!
Item ships from and is sold by Fishpond.com, Inc.
Back to top