- Shopping Bag ( 0 items )
Excellent Powershell 2.0 book.
I am a Network/Systems administrator who uses scripting almost daily at my job. I decided to make the jump to Powershell 2.0 from VBScript as my primary scripting language and decided to purchase Powershell 2.0: TFM.
Powershell 2.0: TFM has tons of content, presented in a concise, well-organized and accessible writing style. I consistently use this book as a reference tool. I have personally recommended this book to many friends and colleagues, often after they ask a question like "how and the heck did you learn how to do this".
I do have a few very minor nitpicks with this book that almost kept me from rating it 5 stars, but I couldn't bring myself to drop a star due to the overall quality and content of this book.
1.) Code examples within the book use static properties and methods, but I did not see an explanation in the book regarding the associated syntax (Ex: [.NET Class]::StaticMethod("arguments")). I believe a small section on the use of static members, coupled with a brief overview of the concepts behind it would be very beneficial to most readers in this book's target audience.
2.) The Working with XML Section:
a.) I believe the section on XML should include some information on working with XPath, given its power and simplicity in Powershell 2.0. I wound up inserting a packet of papers on this topic to use as a reference into my copy of the book.
b.) I believe the book should lead the reader to use the getitem() method when working with XML objects for tasks like appending child objects, as oppose to the .property syntax. The .property syntax does not always return a XML object which can prove to be problematic. For example, attempting to add a child object to an empty XML node using the .property.appendchild() syntax will fail, as .property will return a string object that does not support the appendchild method. The getitem("node").appendchild() syntax will always return the XML object whether or not the node is empty, supporting the appendchild method.
3.) The explanation of the difference between Filters, vs. Functions, vs. Functions containing process blocks is good, but it could be improved. I would like to see a little bit more depth on this topic in this book, preferably highlighted using some performance metrics.
4.) A description and reference list of inline modifiers for .Net regular expressions would be a small, but very helpful, addition to the regular expressions chapter. I wound up taping this information into my copy of the book.
I highly recommend Powershell 2.0: TFM.
2 out of 2 people found this review helpful.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.