- Series: Wrox Professional Guides
- Paperback: 336 pages
- Publisher: Wrox; 1 edition (February 19, 2008)
- Language: English
- ISBN-10: 0470173939
- ISBN-13: 978-0470173930
- Product Dimensions: 7.4 x 0.7 x 9.2 inches
- Shipping Weight: 1 pounds
- Average Customer Review: 5 customer reviews
- Amazon Best Sellers Rank: #2,205,935 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Professional Windows PowerShell Programming: Snapins, Cmdlets, Hosts and Providers (Wrox Professional Guides) 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
From the Back Cover
Professional Windows PowerShell Programming
Snap-ins, Cmdlets, Hosts, and Providers
Providing you with the programmer's approach to understanding Windows PowerShell, this book introduces you to the concepts, components, and development techniques for building software packages that leverage the power of PowerShell. This author team of PowerShell experts shows you how PowerShell makes writing code easy by providing a runtime engine with its own parser, and you'll see how PowerShell offers functionality that enables you to add custom formatting when objects are displayed.
You'll find out how PowerShell's robust SDK allows you to take advantage of PowerShell within your own applications. 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. Once you begin performing the tasks associated with writing command-line utilities, you'll quickly learn how PowerShell permits you to direct your attention to the business logic of your applications.
What you will learn from this book
How to create a PowerShell snap-in
Writing your own custom cmdlets
Creating custom providers
Calling to the PowerShell execution engine
Implementing a host user interface
Extending types and formatting
Who this book is for
This book is for developers and programmers who want to extend the functionality of Windows PowerShell technologies and extend their applications by using PowerShell.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
About the Author
Jon White is a software engineer who lives and works in the idyllic surroundings of Seattle’s eastern suburbs. An original member of the PowerShell team at Microsoft, his professional career started in the Administrative Tools group in Windows Server. As a hobbyist, Jon learned programming in his early teens after his father bought an 8088-based PC clone at a second-hand shop. The PC came with MS-DOS 2.0, which featured debug.exe with a 16-bit disassembler, but no assembler. As a result, Jon’s first dive into programming was disassembling long tables of bytes to create a reverse-lookup dictionary for manually converting assembly programs into executable binary code. Coincidentally, later in life he filed the bug which removed debug.exe from 64-bit Windows. As a member of the PowerShell team, he wrote the language’s first production script, when he converted the team’s test harness from Perl to PowerShell script in 2004. When he’s not working (or writing about work) he’s either sailing or playing with fire in the backyard. You can contact him at email@example.com.
Michael Naixin Li is the Senior Test Lead working on the Windows PowerShell team and currently oversees the testing of Windows PowerShell 2.0. Before Windows PowerShell, Michael worked on various major projects at Microsoft, including the development of MSN 1.x and 2.x, quality management for the COM Services component in Windows 2000, NetDocsWeb Client Access, Web Services in Hailstorm, and Software Licensing Service in Windows Vista. Before joining Microsoft, Michael was an assistant professor at Shanghai University of Science and Technology (now called Shanghai University). He holds a Ph.D. in Computer Science from Colorado State University.
Scott Happell has been working as a software engineer and tester for 10 years. Three of those years have been on the Windows PowerShell team, which was what brought him to Microsoft from New Jersey, where he worked at an Internet startup that went belly-up. Scott recently left Microsoft to become a recording engineer/rock star and is trying to find cool ways to use PowerShell to help him create music.
George Xie was a Senior Developer in the Windows PowerShell team for three years, mainly focusing in the area of snap-in model and scripting language. Recently George joined Windows Mobile organization for the Mobile Device Management product. Before joining Microsoft, George worked for Siebel Systems Inc. for several years.
Krishna Chythanya Vutukuri is a Software Developer working on theWindows PowerShell team. Before Windows PowerShell, Krishna worked on various projects atMicrosoft, which included the development of Windows Presentation Foundation. Before joining Microsoft, Krishna held various product development positions at Hewlett-Packard India Software Operations and Wipro Technologies. He holds a M.Sc (Tech.) in Information Systems from Birla Institute of Technology and Science, Pilani, India.
Top customer reviews
That said, the examples did eventually work and the information on how to create the snap-in and get it set up was fine. The source code was readily available via download and at least compiled cleanly, a statement that cannot always be said of other vendors, even MS.
This is one of several books I'm using, and its only purpose to me is for information on the specific tasks relevant to building PowerShell snap-ins, cmdlets and so forth. It will probably be adequate for that purpose.
But it is patently obvious that no one took the book as printed and ran through the examples to make sure they worked, nor even proofed the section heads. I will think twice (or even three times) before ever buying a book by these authors and/or from this publisher again.
My message to the publisher: Have one author with passion and personality write your books.
My message to the interested reader: Buy PowerShell in Action, read Jeffrey Snover's blog and check out the PowerShell MSDN documentation instead.
With that said, despite the authors' efforts the book feels more like a reference than a tutorial. The authors' expertise is so deep sometimes they forget to explain all the "obvious" things.
For example, when the PSObject class gets presented to the reader the details are outstanding, as always, but there's very little effort devoted to explaining why this class is needed at all. I've seen other books do better in that matter.
A different example: If you've created your own CmdLets, you already know you can derive from CmdLet or PSCmdLet, the latter being a subclass of the former with additional features but additional requirements. The book totally avoids this discussion (did I miss it?) and PSCmdLet gets used exclusively all over the chapter without telling the reader why.
Don't get me wrong, this is a wonderful book and honestly, I may come back in a few weeks to update this review and give the book an additional star. But I'm the kind of guy that always needs the "Why" before the "How".