Top critical review
35 people found this helpful
There's no scripting in here at all!
on 23 February 2013
I'm sorry to say I am disappointed with the content of this book. Yes it takes a complete Newbie through a series of tutorials about what PowerShell is, what it's for, how to run commands, etc., but there is virtually nothing at all on actual scripting. The authors' argument is that PowerShell is primarily a tool for executing administration commands in Windows, such as setting up a new AD user or adding an event to the Event Log, etc.
But I am amazed to find that there is nothing in the book at all about loops, sequences, if..then..else, error levels, exit codes, how to handle errors, etc.
Almost every example is an interactive command, there are virtually no demonstrations of script files or 'programming' style tasks.
So unless you want to learn how to execute a series of commands in PowerShell one after the other, where you are not interested in whether those commands worked, and you don't want to make automatic decisions based on the success/failure of the previous command, then I would investigate other books.
This is a real shame, because I enjoyed the writing style and their knowledge of the subject. Their approach is very much "bought the T-Shirt" and here are the pitfalls to avoid, which I liked, as it allows me to benefit from someone else's mistakes and experience.
But my argument remains - WHERE'S THE SCRIPTING?!