By Richard Siddaway and Bruce Payette
PowerShell V4 introduced two new operators for working with collections, Where() and ForEach(). In this article, excerpted from Windows PowerShell in Action, Third Edition, we’ll tell you about them.
By Bruce Payette
This article is taken from the book Windows PowerShell in Action, Second Edition. In this article, the author builds a solution for multi-machine monitoring. First, he teaches how to write a script against a single host, and then against a list of machines. Next, he describes throttling, a method of limiting the amount of resources that an activity can consume at one time. Lastly, the author shows how adding parameters can increase the flexibility of this resource management tool.