{"id":73221,"date":"2015-09-21T00:01:00","date_gmt":"2015-09-21T00:01:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2015\/09\/21\/talk-like-a-piratethe-video\/"},"modified":"2019-02-18T09:35:10","modified_gmt":"2019-02-18T16:35:10","slug":"talk-like-a-piratethe-video","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/talk-like-a-piratethe-video\/","title":{"rendered":"Talk Like a Pirate&#8212;The Video"},"content":{"rendered":"<p><b style=\"font-size:12px\">Summary<\/b><span style=\"font-size:12px\">: Ed Wilson, Microsoft Scripting Guy, talks a bit about the script he wrote to translate pirate speech by using <\/span><b style=\"font-size:12px\">Invoke-WebRequest<\/b><span style=\"font-size:12px\">.<\/span><\/p>\n<p>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&mdash;in fact, many times it seems like they take more time than they are worth.<\/p>\n<p>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&rsquo;t exist, I can fall back to submitting stuff to websites.<\/p>\n<p style=\"margin-left:30px\"><b>Note&nbsp;<\/b> For more information about this technique, refer to <a href=\"\/b\/heyscriptingguy\/archive\/2015\/09\/19\/weekend-scripter-powershell-for-quot-talk-like-a-pirate-quot-day.aspx\" target=\"_blank\">PowerShell for &#8220;Talk Like a Pirate&#8221; Day<\/a>.<\/p>\n<p>Here is the video&#8230;<\/p>\n<p>[View:https:\/\/youtu.be\/eYrsizbnIn8:550:0]<\/p>\n<p>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:&nbsp;<a href=\"https:\/\/youtu.be\/eYrsizbnIn8\" target=\"_blank\">Talk Like A Pirate translator by Ed Wilson<\/a><\/p>\n<p>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.<\/p>\n<p>I invite you to follow me on <a href=\"http:\/\/bit.ly\/scriptingguystwitter\" target=\"_blank\">Twitter<\/a> and <a href=\"http:\/\/bit.ly\/scriptingguysfacebook\" target=\"_blank\">Facebook<\/a>. If you have any questions, send email to me at <a href=\"mailto:scripter@microsoft.com\" target=\"_blank\">scripter@microsoft.com<\/a>, or post your questions on the <a href=\"http:\/\/bit.ly\/scriptingforum\" target=\"_blank\">Official Scripting Guys Forum<\/a>. See you tomorrow. Until then, peace.<\/p>\n<p><b>Ed Wilson, Microsoft Scripting Guy<\/b><span style=\"font-size:12px\">&nbsp;<\/span><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[3,4,604,45],"class_list":["post-73221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-scripting-guy","tag-scripting-techniques","tag-using-the-web","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>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 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/73221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=73221"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/73221\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=73221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=73221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=73221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}