Overview

Use PowerShell to Streamline and Automate Your Most Time-Consuming Windows Administration Tasks

With Windows PowerShell, Microsoft brings innovative console-based system administration and scripting to Windows clients and servers. PowerShell combines the best features of traditional UNIX shells with the immense power of the .NET Framework, offering a consistent and easy-to-use replacement for both the Windows command line and the Windows Script Host. In Essential PowerShell, ...

See more details below
Essential PowerShell

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview

Use PowerShell to Streamline and Automate Your Most Time-Consuming Windows Administration Tasks

With Windows PowerShell, Microsoft brings innovative console-based system administration and scripting to Windows clients and servers. PowerShell combines the best features of traditional UNIX shells with the immense power of the .NET Framework, offering a consistent and easy-to-use replacement for both the Windows command line and the Windows Script Host. In Essential PowerShell, noted expert Holger Schwichtenberg gives Windows sysadmins all the knowledge and sample scripts they need to successfully administer production systems with PowerShell.

Schwichtenberg begins by introducing the innovative PowerShell architecture, along with crucial PowerShell concepts such as pipelining and navigation. Next, he introduces the PowerShell Script Language, shows the secure execution of command sequences as scripts, and demonstrates how to use PowerShell to access essential operating system interfaces such as COM, WMI, ADSI, and ADO.NET.

After you’ve mastered the fundamentals, Schwichtenberg presents an extensive collection of PowerShell solutions for virtually every area of day-to-day administration. For each topic, he presents dozens of self-contained examples, all downloadable from a companion Web site. He covers both Microsoft’s standard PowerShell commandlets and the free commandlets available as PowerShell Community Extensions. He also presents a full chapter of tips, tricks, and troubleshooting solutions. Coverage includes

  • Understanding PowerShell’s components and features
  • Setting up your PowerShell scripting environment
  • Creating and using commandlets
  • Using object-oriented pipelining for filtering, sorting, grouping, comparisons, calculations, and more
  • Mastering PowerShell’s uniform navigation model and using it with all types of data
  • Programming command sequences with the PowerShell Script Language
  • Making the most of the PowerShell console and third-party tools
  • Managing processes, event logs, and registry entries
  • Controlling networking, printing, and software installation
  • Manipulating Active Directory and other enterprise services with PowerShell
  • Using PowerShell to enforce stronger system and network security
  • Storing data in files, documents, and databases

Preface xv

Part I: Getting Started with PowerShell

1: First Steps with Windows PowerShell 3

2: Commandlets 25

3: Pipelining 43

4: Advanced Pipelining 59

5: The PowerShell Navigation Model 81

6: The PowerShell Script Language 89

7: PowerShell Scripts 115

8: Using Class Libraries 129

9: PowerShell Tools 151

10: Tips, Tricks and Troubleshooting 171

Part II: Windows PowerShell in Action

11: File Systems 205

12: Documents 235

13: Registry and Software 253

14: Processes and Services 267

15: Computers and Hardware 281

16: Networking 295

17: Directory Services 313

18: User and Group Management in the Active Directory 335

19: Searching in the Active Directory 349

20: Additional Libraries for Active Directory Administration 361

21: Databases 373

22: Advanced Database Operations 389

23: Security Settings 401

24: Advanced Security Administration 413

PartIII: Appendices

Appendix A: PowerShell Commandlet Reference 429

Appendix B: PowerShell 2.0 Preview 445

Appendix C: Bibliography 449

Index 453

Read More Show Less

Product Details

  • ISBN-13: 9780132715195
  • Publisher: Pearson Education
  • Publication date: 7/3/2008
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 504
  • Sales rank: 1,315,716
  • File size: 13 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Dr. Holger Schwichtenberg holds a Master’s degree and a Ph.D. in business informatics, both from the University Duisburg-Essen in Germany. He has had more than ten years experience as a lead developer and trainer. With his company IT-Visions.de, based in Germany, he works as a software architect, technology consultant, and trainer for leading companies throughout Europe. Holger is one of Europe’s well-known experts for .NET and Windows Scripting technologies, recognized by Microsoft as a Most Valuable Professional (MVP), a .NET Code Wise Member, a board member of codezone.de, an MSDN Online Expert, and a speaker for the International .NET Association (INETA). Based on his expertise in software development and the Windows operating system, Holger is one of the experts in the European Union versus Microsoft antitrust case. He has published more than 30 books for Addison-Wesley and Microsoft Press in Germany, in addition to more than 400 journal articles, notably for the IT journals iX, DOTNET Pro, and Windows IT Pro. His community websites dotnetframework.de and windows-scripting.com are members of the Codezone Premier Website program. Holger regularly speaks at professional conferences (for example, Microsoft TechEd, Microsoft IT Forum, Advanced Developers Conference, OOP, Net.Object Days, Online, BASTA, and DOTNET Conference). Holger can be reached at hs@windows-scripting.com.

Read More Show Less

Read an Excerpt

PrefacePreface

Windows PowerShell is one of the most amazing products Microsoft has released in recent years, because it brings console-based system administration and scripting to the next level of abstraction. PowerShell is an excellent replacement for classic Windows shell commands and for Windows Script Host (WSH). PowerShell copies a lot of good features from UNIX shells and combines them with the power of the .NET Framework. In contrast to WSH, PowerShell enables consistent, straightforward, command-line system administration that does not require much software development knowledge.

Unfortunately, in the first version of PowerShell, the number of high-level commands is limited. For many tasks, lower-level concepts are required, especially the .NET Framework and Windows Management Instrumentation (WMI).What Does This Book Cover?

This book covers the standard PowerShell commandlets, additional free commandlets (e.g., PowerShell Community Extensions), and the direct use of classes from the .NET Framework, the Component Object Model (COM), WMI, and the Active Directory Service Interface (ADSI).

Because PowerShell is an extensive topic, this book cannot provide an exhaustive reference of all PowerShell commands and solutions for all possible administrative tasks. However, you will find a concise introduction to the most common command and scenarios. For more detailed information about PowerShell, refer to the Microsoft documentation for PowerShell, WMI, ADSI, and the .NET Framework (approximately 100.000 pages) as an additional source.Who Should Read This Book?

The primary target audience comprises Windows administrators seeking a method ofautomated system administration that is more powerful than the classic Windows Shell but less complex than WSH and the associated COM components. After reading this book, administrators will be able to use PowerShell as their day-to-day command-line interface for all administrative tasks.

As a prerequisite, aside a good knowledge of the Windows operation system, you should have a basic understanding of object-oriented programming languages. Basic concepts of object orientation such as classes, objects, attributes, and methods are not explained in this book.How This Book Is Structured

This book is organized into 24 chapters, some of which, based on your previous experience and knowledge of certain concepts, you might find easier to understand than others. The 24 chapters are split into 2 parts:

  • Part I: Getting Started with PowerShell. Part I introduces the PowerShell architecture, all basic concepts (such as pipelining and navigation), the PowerShell Script Language, and the tools you should know.

  • Part II: PowerShell in Action. Part II covers PowerShell script solutions for day-to-day administrative tasks related to Windows services and Windows application, such as file system, processes, event logs, registry, networking, printers, documents, databases, Active Directory, and software installation. Each chapter contains dozens of self-contained examples.

The appendixes contain a list of all commandlets from PowerShell 1.0, the PowerShell Community Extensions 1.1.1, and the http://www.IT-Visions.de PowerShell Extensions 2.0. You will also find a short preview of the next version of Windows PowerShell (Version 2.0).This Book's Website

Many of the scripts are available for download from http://www.powershell24.com. This website also contains errata for this book and the option to offer feedback to the author.

© Copyright Pearson Education. All rights reserved.

Read More Show Less

Table of Contents

Preface xv

Part I: Getting Started with PowerShell

1: First Steps with Windows PowerShell 3

2: Commandlets 25

3: Pipelining 43

4: Advanced Pipelining 59

5: The PowerShell Navigation Model 81

6: The PowerShell Script Language 89

7: PowerShell Scripts 115

8: Using Class Libraries 129

9: PowerShell Tools 151

10: Tips, Tricks and Troubleshooting 171

Part II: Windows PowerShell in Action

11: File Systems 205

12: Documents 235

13: Registry and Software 253

14: Processes and Services 267

15: Computers and Hardware 281

16: Networking 295

17: Directory Services 313

18: User and Group Management in the Active Directory 335

19: Searching in the Active Directory 349

20: Additional Libraries for Active Directory Administration 361

21: Databases 373

22: Advanced Database Operations 389

23: Security Settings 401

24: Advanced Security Administration 413

PartIII: Appendices

Appendix A: PowerShell Commandlet Reference 429

Appendix B: PowerShell 2.0 Preview 445

Appendix C: Bibliography 449

Index 453

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)