{"id":183,"date":"2018-05-31T19:11:41","date_gmt":"2018-05-31T19:11:41","guid":{"rendered":"http:\/\/107.181.191.134\/?p=183"},"modified":"2018-05-31T19:11:41","modified_gmt":"2018-05-31T19:11:41","slug":"query-current-versions-of-firefox-and-java-from-internet","status":"publish","type":"post","link":"https:\/\/certcent.io\/index.php\/2018\/05\/31\/query-current-versions-of-firefox-and-java-from-internet\/","title":{"rendered":"Query current versions of Firefox and Java from Internet."},"content":{"rendered":"<p>Hello, again&#8230;  With security risks caused by having outdated and vulnerable versions of Java and Firefox, it&#8217;s important you maintain the latest vendor releases.  Here&#8217;s a short snippet of PS that will query that information for you to compare to your AD computers:<\/p>\n<pre class=\"wrap:true lang:default decode:true\" title=\"Query Firefox Version from Mozilla\">$firefox = get-weburl -url \"https:\/\/www.mozilla.org\/en-US\/firefox\/releases\/\" -Content | fl * | findstr \"releasenotes\" ; $firefox[0].SubString(62,4)<\/pre>\n<pre class=\"wrap:true lang:default decode:true \" title=\"Query Java version \"> $java = Get-WebURL -url \"https:\/\/java.com\/en\/download\/win10.jsp\" -content | fl * | findstr \"Recommended Version\" ; $java.Trim()<\/pre>\n<p>&nbsp;<br \/>\n<strong> <\/strong><br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, again&#8230; With security risks caused by having outdated and vulnerable versions of Java and Firefox, it&#8217;s important you maintain the latest vendor releases. Here&#8217;s a short snippet of PS that will query that information for you to compare to your AD computers: $firefox = get-weburl -url &#8220;https:\/\/www.mozilla.org\/en-US\/firefox\/releases\/&#8221; -Content | fl * | findstr &#8220;releasenotes&#8221;&hellip; <a class=\"more-link\" href=\"https:\/\/certcent.io\/index.php\/2018\/05\/31\/query-current-versions-of-firefox-and-java-from-internet\/\">Continue reading <span class=\"screen-reader-text\">Query current versions of Firefox and Java from Internet.<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/posts\/183"}],"collection":[{"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":0,"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/posts\/183\/revisions"}],"wp:attachment":[{"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/media?parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/categories?post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/certcent.io\/index.php\/wp-json\/wp\/v2\/tags?post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}