windows powershell 2 for dummies (isbn - 0470371986)

411 529 0
windows powershell 2 for dummies (isbn - 0470371986)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Steve Seguis Learn to: • Master Windows PowerShell 2 without complicated jargon • Automate Windows Server ® administration tasks • Use the new features of Windows P ow erShell 2 • Debug scripts, remotely invoke c ommands, and more Windows PowerShell2 Making Everything Easier! Visit the companion Web site at www.dummies.com/go/ powershell2fd to find code files for the code listings used in the book and a bonus chapter about exception handling Open the book and find: • Tips for personalizing PowerShell • All about cmdlets • How to use Windows Management Instrumentation (WMI) • Things to watch for in value conversions • How to internationalize a script • Debugging tools and how to use them • Network configuration tips • Ten common mistakes to avoid • How to take advantage of this new feature in Windows 7 Steve Seguis is a Microsoft Windows systems engineer with more than 12 years of experience managing small- to large-scale Windows environments. He was a Microsoft MVP for Windows Server - Admin Frameworks from 2004–2007, and is a contributing technical editor for Windows IT Pro. Programming Languages/General $29.99 US / $35.99 CN / £21.99 UK ISBN 978-0-470-37198-5 Go to Dummies.com ® for videos, step-by-step examples, how-to articles, or to shop! Get the power to use Windows PowerShell 2 on any Windows system — right here! You’ve heard about Windows PowerShell 2, the Windows scripting environment that’s changing how we think about Windows scripting. This fun and friendly guide gives you a solid understanding of what it is and how to use it, with plenty of real-world examples so you can put the information to good use right away. Your boss will think you’re a genius! • View from the top — get an overview of Windows PowerShell 2 and examine the syntax, structure, and core functionality • Look deeper — manipulate strings, work with data structures like arrays and hashtables, and use Windows Management Instrumentation • The need for speed — see how Windows PowerShell speeds things up by letting you run commands on a remote computer or run multiple commands at once • In the real world — learn to apply scripts to specific needs • It does more — use Windows PowerShell 2 to manage network configurations, gather hardware info, connect to printers, and more Windows PowerShell2 Seguis spine=.816” [...]... Command Shell 22 Adding color to your world 22 Getting size-specific with your windows 22 A window by any other name 24 Changing Your PowerShell Profile 24 Making the Windows PowerShell ISE Work for You 27 Customizing the ISE 28 Adding your own functions to the ISE menu 28 Creating Aliases 30 x Windows PowerShell 2 For Dummies Deleting... running with Windows PowerShell as quickly as possible, then this book is for you! About This Book Windows PowerShell 2 For Dummies is an introductory guide to this relatively new and fascinating Windows scripting environment that’s revolutionizing the way programmers think about Windows scripting Before Windows PowerShell 2, there was Windows PowerShell 1.0 (what a shocker!) Windows PowerShell 2 takes... to read the Monad Manifesto as it originally appeared in 20 02, you can view it on the Windows PowerShell team blog (http://blogs.msdn com /powershell/ archive /20 07/03/19/monad-manifesto-theorigin-of -windows- powershell. aspx) A little bit on Windows PowerShell 1.0 Windows PowerShell brings together the best parts of interacting with the traditional Windows Shell along with the power of writing WSH scripts... to use Windows PowerShell already, stop talking and tell me how!” Because Windows PowerShell 2 15 16 Part I: Getting a Bird’s-Eye View of PowerShell 2 doesn’t ship with any of the Windows operating systems except Windows 7, you’ll generally need to install it first Luckily, this task is relatively pain-free, so stick with me for a few seconds Windows PowerShell 2 is a replacement for Windows PowerShell. .. 21 6 Invoking commands remotely 21 7 Creating a persistent connection 21 8 Running remote background jobs 21 9 Understanding policies, profiles, and precedence 22 1 xiii xiv Windows PowerShell 2 For Dummies Chapter 16: Making Your Script Speak Different Languages 22 3 Seeing the Importance of Internationalizing Scripts 22 4 Giving Your Scripts Different Tongues 22 4... briefly what this book is not, it’s not an all-inclusive, everythingyou’ll-ever-want-to-know-about -Windows PowerShell reference As you read this book, however, you’ll realize how truly powerful Windows PowerShell is, because the book covers all the most important things you need to know This book is written to Windows PowerShell 2 CTP3 Windows PowerShell 2 has already come a long way since it was first... if, for some reason, you type the code manually and it doesn’t work correctly Again, this book is written to Windows PowerShell 2 CTP3 If there are any changes to Windows PowerShell 2 in releases after CTP3, I will put that up as errata on the Windows PowerShell 2 For Dummies Web site (www .dummies com/go /powershell2 fd), so if something in this book doesn’t work quite right, check the Web site for any... 20 9 Using Background Jobs 21 0 Enabling WinRM 21 0 Starting a new job 21 0 Getting results 21 1 Waiting for a job 21 3 Terminating a job 21 4 Bringing a job to a grinding halt 21 4 Running Commands Remotely 21 5 Using Windows PowerShell everywhere 21 5 Getting what you need for remote commands 21 6 Speaking PowerShell. .. internationalization features 22 5 Understanding cultures 22 6 Putting it all together 22 6 Sharing Scripts with Others 22 9 Chapter 17: Smashing Those Bugs 23 1 Finding Out Where the Bugs Come From 23 1 Guarding against unexpected input 23 2 Watching out for incorrect logic 23 2 Expecting the unexpected: System errors 23 3 Understanding the... you have some Windows administration under your belt If you don’t, don’t worry; you still find plenty of useful information in this book Finally, although the title of this book is Windows PowerShell 2 For Dummies, I know that you’re not a dummy (but I bet that guy who’s staring at you for having a For Dummies book in your hand is) I know that you’re a smart 3 4 Windows PowerShell 2 For Dummies individual . world 22 Getting size-speci c with your windows 22 A window by any other name . . . 24 Changing Your PowerShell Pro le 24 Making the Windows PowerShell ISE Work for You 27 Customizing the ISE 28 Adding. READ. For general information on our other products and services, please contact our Customer Care Department within the U.S. at 87 7-7 6 2- 2974, outside the U.S. at 31 7-5 7 2- 3993, or fax 31 7-5 7 2- 40 02. For. - Admin Frameworks from 20 04 20 07, and is a contributing technical editor for Windows IT Pro. Programming Languages/General $29 .99 US / $35.99 CN / 21 .99 UK ISBN 97 8-0 -4 7 0-3 719 8-5 Go to Dummies. com ® for

Ngày đăng: 10/04/2014, 12:18

Mục lục

  • Windows Power Shell 2 For Dummies®

    • About the Author

    • Dedication

    • Author’s Acknowledgments

    • Contents at a Glance

    • Table of Contents

    • Introduction

      • About This Book

      • Conventions Used in This Book

      • What You’re Not to Read

      • Foolish Assumptions

      • How This Book Is Organized

      • Icons Used in This Book

      • What’s on the Web Site

      • Where to Go from Here

      • Part I: Getting a Bird's Eye View of PowerShell 2

        • Chapter 1: The Windows PowerShell Rap Sheet

          • Addressing the Need for a Powerful, Windows-Focused Scripting Language

          • Windows PowerShell 2, the Next Evolution

          • Installing Windows PowerShell 2

          • Firing up the Windows PowerShell Command Shell

          • Going GUI: The Windows PowerShell Integrated Shell Environment (ISE)

          • Chapter 2: Customizing and Shortcutting the Environment

            • Personalizing the Look and Feel of the Command Shell

            • Changing Your PowerShell Profile

Tài liệu cùng người dùng

Tài liệu liên quan