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

17.6. Summary

Maybe I should have named this chapter "The Cult of System.Net.WebClient." We can do almost everything related to the Web or to FTP transfers with this class. Most often, I need simple file download functionality from a web or FTP server. I need file uploads and HTTP POST requests relatively often, yet those are significantly rarer than file downloads. We covered a lot of advanced scenarios in this chapter: processing HTML and XML is not something that you see every day. Still, the Web hosts tons of different HTML- and XML-based files that you may encounter. When you do, you will know how to process them with PowerShell. I cannot stress enough the sheer power behind PowerShell's XML processing facilities; several lines of code ...

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