{"id":731,"date":"2010-07-26T07:54:51","date_gmt":"2010-07-26T12:54:51","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/?p=731"},"modified":"2010-07-26T07:54:51","modified_gmt":"2010-07-26T12:54:51","slug":"powershell-weather-module","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/","title":{"rendered":"PowerShell Weather Module"},"content":{"rendered":"<p>I first wrote a Windows PowerShell function several years ago to retrieve weather information via Yahoo's weather service. I've been itching to rewrite it and finally found some time over the weekend. Turns out it's a good thing I did because the method I had been using to query the Yahoo web service has been deprecated. My original version relied on a zip or postal code. But now Yahoo relies on a WOEID or \"Where on Earth ID\".<\/p>\n<p>The underlying structure of my Get-Weather function hasn't changed much. Using the Webclient object I query the Yahoo web service, retrieve an XML document and parse it. I then write a custom object to the pipeline.<br \/>\n[cc lang=\"DOS\"]<br \/>\nPS C:\\> get-weather 12762649<\/p>\n<p>Date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Mon, 26 Jul 2010 7:54 am EDT<br \/>\nLocation\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Jamesville, NY<br \/>\nTemperature\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 67 F<br \/>\nCondition\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Partly Cloudy<br \/>\nForecastCondition : Sunny<br \/>\nForecastLow\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 60 F<br \/>\nForecastHigh\u00a0\u00a0\u00a0\u00a0\u00a0 : 80 F<br \/>\n[\/cc]<br \/>\nMy new version includes a lot more information.\u00a0 The function's default is this basic view. However you can also specify Extended or All. I defined a set or properties and then pipe my custom object to Select-Object specifying the appropriate property set.<\/p>\n<p>Since the new version requires a WOEID, you're probably wondering how to find it. One way is to go to <a href=\"http:\/\/weather.yahoo.com\/\">http:\/\/weather.yahoo.com\/<\/a> and enter in your zip code or location in the search box. Your WOEID will be the number at the end of the url that is returned. Or you can use the Get-Woied function. This function takes some sort of search and returns a simple object, including the WOEID.<br \/>\n[cc lang=\"DOS\"]<br \/>\nPS C:\\> get-woeid \"Detroit,MI\"<\/p>\n<p>Country : US<br \/>\nRegion\u00a0 : Michigan<br \/>\nPostal\u00a0 :<br \/>\nLocale\u00a0 : Detroit<br \/>\nWOEID\u00a0\u00a0 : 2391585<\/p>\n<p>PS C:\\> get-woeid 68132<\/p>\n<p>Country : US<br \/>\nRegion\u00a0 : Nebraska<br \/>\nPostal\u00a0 : 68132<br \/>\nLocale\u00a0 : Omaha<br \/>\nWOEID\u00a0\u00a0 : 12787550<br \/>\n[\/cc]<\/p>\n<p>You can even use the two in a pipeline.<br \/>\n[cc lang=\"DOS\"]<br \/>\nPS C:\\> get-woeid 68132 | get-weather -extended<\/p>\n<p>Date\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Mon, 26 Jul 2010 6:52 am CDT<br \/>\nLocation\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Omaha, NE<br \/>\nTemperature\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 70 F<br \/>\nCondition\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Partly Cloudy<br \/>\nForecastCondition : Partly Cloudy<br \/>\nForecastLow\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 72 F<br \/>\nForecastHigh\u00a0\u00a0\u00a0\u00a0\u00a0 : 88 F<br \/>\nWindChill\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 70 F<br \/>\nWindSpeed\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 5 mph<br \/>\nHumidity\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 84%<br \/>\nBarometer\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 30.07 in and steady<br \/>\nVisibility\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : 10\u00a0 mi<br \/>\nTomorrow\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : Tue 27 Jul 2010 Mostly Sunny Low 74F: High: 94F<br \/>\n[\/cc]<br \/>\nI've put everything together in a module, JH-Weather. The module also defines aliases of <em>gwid <\/em>and <em>gw <\/em>for Get-Woeid and Get-Weather, respectively. I have some other ideas for the module so stay tuned for future releases. In the mean time you can download a zip file with the module <a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/07\/JH-Weather.zip\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I first wrote a Windows PowerShell function several years ago to retrieve weather information via Yahoo&#8217;s weather service. I&#8217;ve been itching to rewrite it and finally found some time over the weekend. Turns out it&#8217;s a good thing I did because the method I had been using to query the Yahoo web service has been&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[61,4,8],"tags":[32,205,534,208,207,206],"class_list":["post-731","post","type-post","status-publish","format-standard","hentry","category-miscellaneous","category-powershell","category-scripting","tag-functions","tag-modules","tag-powershell","tag-weather","tag-webclient","tag-xml"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell Weather Module &#8226; The Lonely Administrator<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell Weather Module &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"I first wrote a Windows PowerShell function several years ago to retrieve weather information via Yahoo&#039;s weather service. I&#039;ve been itching to rewrite it and finally found some time over the weekend. Turns out it&#039;s a good thing I did because the method I had been using to query the Yahoo web service has been...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2010-07-26T12:54:51+00:00\" \/>\n<meta name=\"author\" content=\"Jeffery Hicks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:site\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeffery Hicks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"PowerShell Weather Module\",\"datePublished\":\"2010-07-26T12:54:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/\"},\"wordCount\":401,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"keywords\":[\"functions\",\"modules\",\"PowerShell\",\"weather\",\"webclient\",\"xml\"],\"articleSection\":[\"Miscellaneous\",\"PowerShell\",\"Scripting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/\",\"name\":\"PowerShell Weather Module &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2010-07-26T12:54:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell\\\/731\\\/powershell-weather-module\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Miscellaneous\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/miscellaneous\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell Weather Module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/\",\"name\":\"The Lonely Administrator\",\"description\":\"Practical Advice for the Automating IT Pro\",\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\",\"name\":\"Jeffery Hicks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"caption\":\"Jeffery Hicks\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PowerShell Weather Module &#8226; The Lonely Administrator","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/","og_locale":"en_US","og_type":"article","og_title":"PowerShell Weather Module &#8226; The Lonely Administrator","og_description":"I first wrote a Windows PowerShell function several years ago to retrieve weather information via Yahoo's weather service. I've been itching to rewrite it and finally found some time over the weekend. Turns out it's a good thing I did because the method I had been using to query the Yahoo web service has been...","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/","og_site_name":"The Lonely Administrator","article_published_time":"2010-07-26T12:54:51+00:00","author":"Jeffery Hicks","twitter_card":"summary_large_image","twitter_creator":"@JeffHicks","twitter_site":"@JeffHicks","twitter_misc":{"Written by":"Jeffery Hicks","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"PowerShell Weather Module","datePublished":"2010-07-26T12:54:51+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/"},"wordCount":401,"commentCount":8,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"keywords":["functions","modules","PowerShell","weather","webclient","xml"],"articleSection":["Miscellaneous","PowerShell","Scripting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/","name":"PowerShell Weather Module &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"datePublished":"2010-07-26T12:54:51+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell\/731\/powershell-weather-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Miscellaneous","item":"https:\/\/jdhitsolutions.com\/blog\/category\/miscellaneous\/"},{"@type":"ListItem","position":2,"name":"PowerShell Weather Module"}]},{"@type":"WebSite","@id":"https:\/\/jdhitsolutions.com\/blog\/#website","url":"https:\/\/jdhitsolutions.com\/blog\/","name":"The Lonely Administrator","description":"Practical Advice for the Automating IT Pro","publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jdhitsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9","name":"Jeffery Hicks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","caption":"Jeffery Hicks"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1011,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell-v2-0\/1011\/friday-fun-quote-of-the-day\/","url_meta":{"origin":731,"position":0},"title":"Friday Fun Quote of the Day","author":"Jeffery Hicks","date":"November 5, 2010","format":false,"excerpt":"For this week's Friday Fun post, I have another idea on how to brighten your PowerShell console. The concept of a message of the day or quote of the day in computing goes way back to the dark ages (ie before PowerShell). I thought it might be fun to see\u2026","rel":"","context":"In &quot;Friday Fun&quot;","block_context":{"text":"Friday Fun","link":"https:\/\/jdhitsolutions.com\/blog\/category\/friday-fun\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/11\/qotd.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/11\/qotd.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/11\/qotd.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2010\/11\/qotd.png?resize=700%2C400 2x"},"classes":[]},{"id":4222,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4222\/baby-its-cold-outside\/","url_meta":{"origin":731,"position":1},"title":"Baby, It&#8217;s Cold Outside","author":"Jeffery Hicks","date":"February 16, 2015","format":false,"excerpt":"I don't know about your neck of the woods, but it is downright Arctic here. So I thought I'd polish up my PowerShell function to get weather data. #requires -version 3.0 Function Get-MyWeather { <# .Synopsis Get the weather for a US zip code .Description This command will query the\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"weather","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2015\/02\/weather-300x138.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4252,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4252\/a-powershell-weather-service\/","url_meta":{"origin":731,"position":2},"title":"A PowerShell Weather Service","author":"Jeffery Hicks","date":"February 19, 2015","format":false,"excerpt":"I've been having some fun this week sharing a few tools for getting weather information and forecasts using PowerShell. To complete the story, today I have one more technique. Using PowerShell, you can query a web service for weather information. In simple terms a web service is like an application\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4529,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4529\/whats-the-weather\/","url_meta":{"origin":731,"position":3},"title":"What\u2019s the Weather?","author":"Jeffery Hicks","date":"September 23, 2015","format":false,"excerpt":"I have used a PowerShell module I wrote a while ago to retrieve weather information from Yahoo.com. Yahoo offers a set of web APIs which are free to use, that will provide weather information for a given location. The location is determined by a \"Where On Earth ID\", or woeid.\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"clouds","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2015\/09\/092315_1158_WhatstheWea1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4232,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4232\/getting-the-weather-where-on-earth\/","url_meta":{"origin":731,"position":4},"title":"Getting the Weather Where On Earth","author":"Jeffery Hicks","date":"February 17, 2015","format":false,"excerpt":"Yesterday I posted a popular article about using Invoke-WebRequest to get weather conditions. That function used the Yahoo web site but really only worked for US cities. So I also cleaned up and revised another set of advanced PowerShell functions (required PowerShell 3) that can retrieve weather information for probably\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3522,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3522\/download-sysinternals-with-powershell\/","url_meta":{"origin":731,"position":5},"title":"Download SysInternals with PowerShell","author":"Jeffery Hicks","date":"October 29, 2013","format":false,"excerpt":"Like many IT Pros, I'm a big fan of the utilities that make up the Sysinternals suite. A number of years ago, Microsoft created a \"live\" web directory (http:\\\\live.sysinternals.com\\tools) that allowed you direct access to each utility. While this is very handy, personally I prefer to keep a local version.\u2026","rel":"","context":"In &quot;Powershell 3.0&quot;","block_context":{"text":"Powershell 3.0","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell-3-0\/"},"img":{"alt_text":"sysinternals","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/10\/sysinternals-150x150.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=731"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/731\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}