Cover image for Professional Windows PowerShell Programming : Snapins, Cmdlets, Hosts and Providers.
Professional Windows PowerShell Programming : Snapins, Cmdlets, Hosts and Providers.
Title:
Professional Windows PowerShell Programming : Snapins, Cmdlets, Hosts and Providers.
Author:
Kumaravel, Arul.
ISBN:
9780470289860
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (338 pages)
Contents:
Professional Windows PowerShell Programming: Snap-ins, Cmdlets, Hosts, and Providers -- About the Author -- Credits -- Contents -- Preface -- Introduction -- Conventions -- Source Code -- Errata -- p2p.wrox.com -- Chapter 1: Introduction to PowerShell -- Windows PowerShell Design Principles -- A Quick Tour of Windows PowerShell -- High-Level Architecture of Windows PowerShell -- Summary -- Chapter 2: Extending Windows PowerShell -- Types of PowerShell Snap-ins -- Creating a Standard PowerShell Snap-in -- Creating a Custom PowerShell Snap-in -- Summary -- Chapter 3: Understanding the Extended Type System -- PSObject -- Constructing a PSObject -- ImmediateBaseObject and BaseObject -- Members -- Types of Members -- TypeNames -- Lookup Algorithm -- Distance Algorithm -- PSObject Intrinsic Members and MemberSets -- Errors and Exceptions -- Type Conversion -- ToString Mechanism -- Type Configuration (TypeData) -- Summary -- Chapter 4: Developing Cmdlets -- Getting Started -- Using Parameters -- Processing Pipeline Input -- Generating Pipeline Output -- Reporting Errors -- Supporting ShouldProcess -- Working with the PowerShell Path -- Documenting Cmdlet Help -- Best Practices for Cmdlet Development -- Summary -- Chapter 5: Providers -- Why Implement a Provider? -- Essential Concepts -- Hello World Provider -- Built-in Providers -- Base Provider Types -- Optional Provider Interfaces -- CmdletProvider -- Design Guidelines and Tips -- Summary -- Chapter 6: Hosting the PowerShell Engine in Applications -- Runspaces and Pipelines -- Getting Started -- Executing a Command Line -- Using the Output of a Pipeline -- Input, Output, and Errors for Synchronous Pipelines -- Other Pipeline Tricks -- Configuring Your Runspace -- Running a Pipeline Asynchronously -- Asynchronous Runspace Operations -- Constructing Pipelines Programmatically.

Cmdlets as an API Layer for GUI Applications -- Summary -- Chapter 7: Hosts -- Host-Windows PowerShell Engine Interaction -- Built-In Cmdlets That Interact with the Host -- Cmdlet and Host Interaction -- PSHost Class -- PSHostUserInterface Class -- PSHostRawUserInterface Class -- Summary -- Chapter 8: Formatting & Output -- The Four View Types -- Formatting without *.format.ps1xml -- Format Configuration File Example -- Loading Your Format File(s) -- Anatomy of a Format Configuration File -- TableControl -- ListControl -- Wide Control -- Custom Control -- Miscellaneous Configuration Entries -- Scenarios -- Summary -- Appendix A: Cmdlet Verb Naming Guidelines -- Common Verbs -- Data Verbs -- Communication Verbs -- Diagnostic Verbs -- Lifecycle Verbs -- Security Verbs -- Appendix B: Cmdlet Parameter Naming Guidelines -- Ubiquitous Parameters -- Activity Parameters -- Date/Time Parameters -- Format Parameters -- Property Parameters -- Quantity Parameters -- Resource Parameters -- Security Parameters -- Appendix C: Metadata -- CmdletAttribute -- ParameterAttribute -- AliasAttribute -- Argument Validation Attributes -- Allow and Disallow Attributes -- Extending Parameter Metadata Attributes -- Adding Attributes to Dynamic Parameters at Runtime -- ValidateScriptAttribute -- Appendix D: Provider Base Classes and Overrides/Interfaces -- CmdletProvider -- DriveCmdletProvider -- ItemCmdletProvider -- ContainerCmdletProvider -- NavigationCmdletProvider -- IContentCmdletProvider -- IContentReader -- IContentWriter -- IPropertyCmdletProvider -- IDynamicPropertyCmdletProvider -- Appendix E: Core Cmdlets for Provider Interaction -- Drive-Specific Cmdlets -- Item-Specific Cmdlets -- Container-Specific Cmdlets -- Property-Specific Cmdlets -- Dynamic Property Manipulation Cmdlets -- Content-Related Cmdlets -- Security Descriptor-Related Cmdlets -- Index.
Abstract:
Providing you with the programmer?s approach to understanding Windows PowerShell, this book introduces the concepts, components, and development techniques for building software packages that leverage the power of PowerShell. The author team of PowerShell experts shows you how PowerShell makes writing code easy by providing a runtime engine with its own parser, plus you?ll discover that with PowerShell, all of the .NET Framework objects become accessible via scripting, making PowerShell a very powerful addition to your toolbox and a popular choice for future development.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: