{"id":8107,"date":"2024-07-10T09:20:54","date_gmt":"2024-07-10T09:20:54","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=8107"},"modified":"2024-07-10T09:20:56","modified_gmt":"2024-07-10T09:20:56","slug":"how-to-update-filezilla-using-intune-proactive-remmeidations","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-update-filezilla-using-intune-proactive-remmeidations","title":{"rendered":"How to Update Filezilla using Intune Proactive remmeidations"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code class=\"\">$SoftwareName = \"FileZilla\"\n\n$ItemProperties = Get-ItemProperty \"HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*\" | Where Displayname -like \"*$SoftwareName*\"\n[version]$Version='3.67.0'\n\n#does item exist and less then version\nif (($ItemProperties)-and ([version]$ItemProperties.DisplayVersion -lt $Version)\n ) {\n    Write-Host \"Old Software Found Install\"\n    Exit 1\n} Else {\n    Write-Host \"Software Not Found or Version Correct\"\n    Exit 0\n}\n\n\n catch{\n    $errMsg = $_.exeption.essage\n    Write-Output $errMsg\n }<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">#Install chocolatey if it doesn't exist \n\n\nif (Get-Command -Name choco.exe -ErrorAction SilentlyContinue) {} else {\nSet-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https:\/\/community.chocolatey.org\/install.ps1'))\n}\n\nchoco install filezilla\n\nchoco upgrade filezilla<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8107","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=8107"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8107\/revisions"}],"predecessor-version":[{"id":8110,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8107\/revisions\/8110"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=8107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=8107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=8107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}