O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.12. Summary

This chapter has given you the basic tools for working with collections by setting up object pipelines, so that you can transform data into something that works for you. It is important to start with those operations so that we can use them later, on objects that come from various sources. Every PowerShell command is targeted at processing a collection of objects and will return another collection and any single object will transparently be converted to a collection when needed.

Most useful PowerShell scripts start out as experiments performed on the command line: Can I get the list of processes running on that remote machine? Can I filter out the ones I do not need? Can I sort the result by memory usage? Can I get the top ten ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required