Summary: Ed Wilson, Microsoft Scripting Guy, talks a bit about the script he wrote to translate pirate speech by using Invoke-WebRequest.
Microsoft Scripting Guy, Ed Wilson, is here. Today I present a video where I talk a bit about my script to submit data to a webpage and receive information back from that page. These sorts of web projects seem to take a lot of time—in fact, many times it seems like they take more time than they are worth.
This is because each webpage can be different, and because they can change on a whim. It is much better to have a structured API or a web service to perform these types of things. Of course, the great thing about Windows PowerShell is that when those things don’t exist, I can fall back to submitting stuff to websites.
Note For more information about this technique, refer to PowerShell for "Talk Like a Pirate" Day.
Here is the video...
Here is a link to the video from YouTube if you would like to download it or play it offline in a different video player: Talk Like A Pirate translator by Ed Wilson
Now you know how to use Windows PowerShell to submit and to receive information from a webpage. Join me tomorrow when I will talk about more cool stuff.
I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at email@example.com, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.
Ed Wilson, Microsoft Scripting Guy