Professional Windows PowerShell Programming phần 1 potx

34 263 0
Professional Windows PowerShell Programming phần 1 potx

Đ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

[...]... Host 10 1 10 6 11 4 11 4 11 5 Summary 11 6 Chapter 5: Providers 11 7 Why Implement a Provider? 11 8 Providers versus Cmdlets Essential Concepts Paths Drives Error Handling Capabilities Hello World Provider Built-in Providers Alias Provider Environment Provider FileSystem Provider Function Provider Registry Provider Variable Provider Certificate Provider 11 8 11 9 11 9 12 1 12 1 12 2 12 3 12 5 12 5 12 6 12 6 12 6 12 7 12 8 12 8... GUI Applications High-Level Architecture Keys to Successful GUI Integration Providing a Custom Host 18 1 18 1 18 2 18 2 18 5 18 6 18 7 18 7 18 7 18 8 18 9 18 9 18 9 19 0 19 1 19 2 19 3 19 3 19 4 19 4 Summary 19 5 Chapter 7: Hosts 19 7 Host -Windows PowerShell Engine Interaction Built-In Cmdlets That Interact with the Host 19 7 19 9 Write-Debug Write-Verbose Write-Warning Write-Progress Write-Host and Out-Host Read-Host Cmdlet... 1. 0 : This Windows PowerShell snap-in contains management cmdlets used to mancomponents Name : Microsoft .PowerShell. Security PSVersion : 1. 0 Description : This Windows PowerShell snap-in contains cmdlets to manage Windows PowerShell security Name 10 : Microsoft .PowerShell. Utility 11 :14 am Page 10 Kumaravel c 01. tex V2 - 01/ 07/2008 11 :14 am Chapter 1: Introduction to PowerShell PSVersion : 1. 0 Description... High-Level Architecture of Windows PowerShell Host Application Windows PowerShell Engine Windows PowerShell Snap-ins 2 2 2 2 3 3 9 9 10 10 Summary 11 Chapter 2: Extending Windows PowerShell 13 Types of PowerShell Snap-ins Creating a Standard PowerShell Snap-in 13 14 Writing a PowerShell Snap-in Registering Your PowerShell Snap-in Listing Available PowerShell Snap-ins Loading a PowerShell Snap-in to a... CmdletProvider DriveCmdletProvider ItemCmdletProvider ContainerCmdletProvider NavigationCmdletProvider 13 2 13 3 13 4 13 4 13 4 13 6 13 9 14 1 14 7 15 3 Design Guidelines and Tips Summary 16 2 16 3 Chapter 6: Hosting the PowerShell Engine in Applications 16 5 Runspaces and Pipelines Getting Started Executing a Command Line 16 5 16 6 16 6 Using RunspaceInvoke Using Runspace and Pipeline Using the Output of a Pipeline The Return... Microsoft .PowerShell. Core PSVersion : 1. 0 Description : This Windows PowerShell snap-in contains Windows PowerShell management cmdlets used to manage components of Windows PowerShell Name : Microsoft .PowerShell. Host PSVersion : 1. 0 Description : This Windows PowerShell snap-in contains cmdlets used by the Windows PowerShell host Name PSVersion Description age Windows : Microsoft .PowerShell. Management : 1. 0... a Console File Creating RunspaceConfiguration from an Assembly Using SessionStateProxy to Set and Retrieve Variables Fine-Tuning RunspaceConfiguration xii 17 4 17 4 17 5 17 5 17 6 17 6 17 7 17 7 17 7 17 8 17 9 12 :04am Page xii Kumaravel ftoc.tex V2 - 01/ 08/2008 12 :04am Contents Running a Pipeline Asynchronously Calling InvokeAsync() Closing the Input Pipe Reading Output and Error from an Asynchronous Pipeline Monitoring... fcredit.tex V1 - 01/ 07/2008 10 :18 pm Page viii Kumaravel ftoc.tex V2 - 01/ 08/2008 12 :04am Contents Preface Introduction xvii xix Chapter 1: Introduction to PowerShell 1 Windows PowerShell Design Principles 1 Preserve the Customer’s Existing Investment Provide a Powerful, Object-Oriented Shell Extensibility, Extensibility, Extensibility Tear Down the Barriers to Development A Quick Tour of Windows PowerShell. .. EnterNestedPrompt ExitNestedPrompt 19 9 200 202 203 203 204 204 207 208 209 210 210 210 211 211 212 xiii Page xiii Kumaravel ftoc.tex V2 - 01/ 08/2008 Contents Application Notification Methods SetShouldExit PSHostUserInterface Class WriteDebugLine WriteVerboseLine WriteWarningLine WriteProgress WriteErrorLine Write Methods Prompt Method PromptForCredential Read Methods 214 214 2 21 222 223 223 223 224 224 224... tracing capabilities A Quick Tour of Windows PowerShell This section presents a quick tour of Windows PowerShell We’ll start with a brief look at installing the program, and then move right into a discussion of cmdlets You start Windows PowerShell either by clicking the Windows PowerShell shortcut link or by typing PowerShell in the Run dialog box (see Figure 1- 1) Figure 1- 1: Click the shortcut link and . Provider? 11 8 Providers versus Cmdlets 11 8 Essential Concepts 11 9 Paths 11 9 Drives 12 1 Error Handling 12 1 Capabilities 12 2 Hello World Provider 12 3 Built-in Providers 12 5 Alias Provider 12 5 Environment. with the PowerShell Path 10 1 Documenting Cmdlet Help 10 6 Best Practices for Cmdlet Development 11 4 Naming Conventions 11 4 Interactions with the Host 11 5 Summary 11 6 Chapter 5: Providers 11 7 Why. Windows PowerShell 3 Cmdlets 3 High-Level Architecture of Windows PowerShell 9 Host Application 9 Windows PowerShell Engine 10 Windows PowerShell Snap-ins 10 Summary 11 Chapter 2: Extending Windows

Ngày đăng: 12/08/2014, 23:21

Từ khóa liên quan

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

  • Đang cập nhật ...

Tài liệu liên quan