{"id":353,"date":"2025-01-25T11:33:48","date_gmt":"2025-01-25T11:33:48","guid":{"rendered":"https:\/\/www.digitalsaviour.co.uk\/blog\/?p=353"},"modified":"2025-01-25T11:37:32","modified_gmt":"2025-01-25T11:37:32","slug":"update-7-zip-automatically","status":"publish","type":"post","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/","title":{"rendered":"Update 7-Zip Automatically"},"content":{"rendered":"<body>\n<p class=\"wp-block-paragraph\">I still don\u2019t understand why developers do not have an option to auto-update their apps. Especially when it\u2019s a simple solution that is required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recently I was asked to upgrade hundreds of Intune managed devices 7-Zip installations. Some were over three years since they were last updated. 7-Zip does not have any natively automated process to do an update however the update is as simple as running the setup of the latest version from the <a href=\"https:\/\/www.7-zip.org\/download.html\">7-Zip website<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this in mind it would be easy enough to package the latest version of 7-Zip as a Win32 app and deploy it using Intune or whatever RMM or MDM you are using however this would only update to the version packaged.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The better option would be an automated process or scheduled task that will download the very latest version from the 7-Zip website and install it.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"# Ensure the script uses TLS 1.2\n[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n\n$dlurl = 'https:\/\/7-zip.org\/' + (Invoke-WebRequest -UseBasicParsing -Uri 'https:\/\/7-zip.org\/' | Select-Object -ExpandProperty Links | Where-Object {($_.outerHTML -match 'Download')-and ($_.href -like &quot;a\/*&quot;) -and ($_.href -like &quot;*-x64.exe&quot;)} | Select-Object -First 1 | Select-Object -ExpandProperty href)\n\n$installerPath = Join-Path $env:TEMP (Split-Path $dlurl -Leaf)\nInvoke-WebRequest $dlurl -OutFile $installerPath\nStart-Process -FilePath $installerPath -Args &quot;\/S&quot; -Verb RunAs -Wait\n\nRemove-Item $installerPath\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #D8DEE9\">Ensure<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">the<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">script<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">uses<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">TLS<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">1.2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #D8DEE9\">Net<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">ServicePointManager<\/span><span style=\"color: #D8DEE9FF\">]::<\/span><span style=\"color: #D8DEE9\">SecurityProtocol<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> [<\/span><span style=\"color: #D8DEE9\">Net<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">SecurityProtocolType<\/span><span style=\"color: #D8DEE9FF\">]::<\/span><span style=\"color: #D8DEE9\">Tls12<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">$dlurl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #A3BE8C\">https:\/\/7-zip.org\/<\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><span style=\"color: #D8DEE9\">Invoke<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">WebRequest<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">UseBasicParsing<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Uri<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #A3BE8C\">https:\/\/7-zip.org\/<\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">|<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Select<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Object<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">ExpandProperty<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Links<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">|<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Where<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Object<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\">($_.outerHTML -match <\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #A3BE8C\">Download<\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #88C0D0\">)-and ($_.href -like <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">a\/*<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #88C0D0\">) -and ($_.href -like <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">*-x64.exe<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #88C0D0\">)} | Select-Object -First 1 | Select-Object -ExpandProperty href)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">$installerPath = Join-Path $env<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #88C0D0\">TEMP<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><span style=\"color: #D8DEE9\">Split<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Path<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$dlurl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Leaf<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Invoke<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">WebRequest<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$dlurl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">OutFile<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$installerPath<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Start<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Process<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">FilePath<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$installerPath<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Args<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">\/S<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Verb<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">RunAs<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Wait<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Remove<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Item<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$installerPath<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This code will first of all enabled TLS1.2 for older OS. This is necessary for the download to work using Invoke-WebRequest. Next we pull the web page download from <a href=\"http:\/\/7-zip.org\">7-zip.org<\/a> and then parse it to find the download link (In case it ever changes).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we download the installer and run it silently and wait for it to finish. Once the setup exists we remove the installer file to clean things up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Deploying the update<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can deploy this script however you wish but I would recommend that it runs at regular intervals to make sure that 7-Zip is as up to date as possible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One method would be to deploy the file to your devices and create a scheduled task. Make sure it runs with the highest permissions so as System would be recommended.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using Intune to deploy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you deploy as a Script in Intune it will only run once which is great to bring devices up to the latest version one time however if we deploy as a remediation it will keep the device up to date.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code='# Check if 7Zip is installed for use as remediation in Update-7Zip\n\n$commonPaths = @(\n        \"C:\\Program Files\\7-Zip\\7z.exe\",\n        \"C:\\Program Files (x86)\\7-Zip\\7z.exe\"\n    )\n    \nforeach ($path in $commonPaths) {\n    if (Test-Path -Path $path) {\n        Write-Output \"7-Zip is installed at $path\"\n\n        # 7-Zip is installed\n        Exit 1\n    }\n}\n\n# 7-Zip is not installed\nWrite-Output \"7-Zip not detected\"\nExit 0' style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #D8DEE9\">Check<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> 7<\/span><span style=\"color: #D8DEE9\">Zip<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">is<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">installed<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">for<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">use<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">as<\/span><span style=\"color: #D8DEE9FF\"> remediation in Update<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9FF\">7<\/span><span style=\"color: #D8DEE9\">Zip<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">$commonPaths<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D08770\">@<\/span><span style=\"color: #D8DEE9FF\">(<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">C:<\/span><span style=\"color: #EBCB8B\">\\P<\/span><span style=\"color: #A3BE8C\">rogram Files<\/span><span style=\"color: #EBCB8B\">\\7<\/span><span style=\"color: #A3BE8C\">-Zip<\/span><span style=\"color: #EBCB8B\">\\7<\/span><span style=\"color: #A3BE8C\">z.exe<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">C:<\/span><span style=\"color: #EBCB8B\">\\P<\/span><span style=\"color: #A3BE8C\">rogram Files (x86)<\/span><span style=\"color: #EBCB8B\">\\7<\/span><span style=\"color: #A3BE8C\">-Zip<\/span><span style=\"color: #EBCB8B\">\\7<\/span><span style=\"color: #A3BE8C\">z.exe<\/span><span style=\"color: #ECEFF4\">\"<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    )<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">foreach<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><span style=\"color: #D8DEE9\">$path<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">in<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$commonPaths<\/span><span style=\"color: #D8DEE9FF\">) <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><span style=\"color: #D8DEE9\">Test<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Path<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Path<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$path<\/span><span style=\"color: #D8DEE9FF\">) <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">Write<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Output<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">7-Zip is installed at $path<\/span><span style=\"color: #ECEFF4\">\"<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        # <\/span><span style=\"color: #B48EAD\">7<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Zip<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">is<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">installed<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">Exit<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #B48EAD\">7<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Zip<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">is<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">not<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">installed<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Write<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Output<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">7-Zip not detected<\/span><span style=\"color: #ECEFF4\">\"<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Exit<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">0<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This script is the detection script and will check if 7-Zip is installed. If you find installations in other paths you can change the $commonPaths array to include them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The remediation script is the same as the first script above.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewbox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"# Ensure the script uses TLS 1.2\n[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n\n$dlurl = 'https:\/\/7-zip.org\/' + (Invoke-WebRequest -UseBasicParsing -Uri 'https:\/\/7-zip.org\/' | Select-Object -ExpandProperty Links | Where-Object {($_.outerHTML -match 'Download')-and ($_.href -like &quot;a\/*&quot;) -and ($_.href -like &quot;*-x64.exe&quot;)} | Select-Object -First 1 | Select-Object -ExpandProperty href)\n\n$installerPath = Join-Path $env:TEMP (Split-Path $dlurl -Leaf)\nInvoke-WebRequest $dlurl -OutFile $installerPath\nStart-Process -FilePath $installerPath -Args &quot;\/S&quot; -Verb RunAs -Wait\n\nRemove-Item $installerPath\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #D8DEE9\">Ensure<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">the<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">script<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">uses<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">TLS<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">1.2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">[<\/span><span style=\"color: #D8DEE9\">Net<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">ServicePointManager<\/span><span style=\"color: #D8DEE9FF\">]::<\/span><span style=\"color: #D8DEE9\">SecurityProtocol<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> [<\/span><span style=\"color: #D8DEE9\">Net<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">SecurityProtocolType<\/span><span style=\"color: #D8DEE9FF\">]::<\/span><span style=\"color: #D8DEE9\">Tls12<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">$dlurl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #A3BE8C\">https:\/\/7-zip.org\/<\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><span style=\"color: #D8DEE9\">Invoke<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">WebRequest<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">UseBasicParsing<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Uri<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #A3BE8C\">https:\/\/7-zip.org\/<\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">|<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Select<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Object<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">ExpandProperty<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Links<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">|<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">Where<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Object<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><span style=\"color: #D8DEE9FF\">($_.outerHTML -match <\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #A3BE8C\">Download<\/span><span style=\"color: #ECEFF4\">'<\/span><span style=\"color: #88C0D0\">)-and ($_.href -like <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">a\/*<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #88C0D0\">) -and ($_.href -like <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">*-x64.exe<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #88C0D0\">)} | Select-Object -First 1 | Select-Object -ExpandProperty href)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #88C0D0\">$installerPath = Join-Path $env<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #88C0D0\">TEMP<\/span><span style=\"color: #D8DEE9FF\"> (<\/span><span style=\"color: #D8DEE9\">Split<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Path<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$dlurl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Leaf<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Invoke<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">WebRequest<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$dlurl<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">OutFile<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$installerPath<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Start<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Process<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">FilePath<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$installerPath<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Args<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #A3BE8C\">\/S<\/span><span style=\"color: #ECEFF4\">\"<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Verb<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">RunAs<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Wait<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Remove<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #D8DEE9\">Item<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$installerPath<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Deploy this to all devices for completion and make sure it runs weekly or however often you want to check for updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do you have a better way to do this? Post in the comments below if you have any suggestions.<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.<\/p>\n","protected":false},"author":1,"featured_media":354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[23,30],"tags":[45,44,26,42,41,43],"class_list":["post-353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","category-remediation","tag-7-zip","tag-7zip","tag-intune","tag-powershell","tag-remediation-script","tag-windows"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Lee Burridge\"\/>\n\t<meta name=\"keywords\" content=\"7-zip,7zip,intune,powershell,remediation script,windows\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\ud83d\udc7dDigital Saviour - Tech. ancient civilizations, conspiracies, UAPs and more\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour\" \/>\n\t\t<meta property=\"og:description\" content=\"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1597\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1123\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-01-25T11:33:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-01-25T11:37:32+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@leeburridge\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#blogposting\",\"name\":\"Update 7-Zip Automatically - \\ud83d\\udc7dDigital Saviour\",\"headline\":\"Update 7-Zip Automatically\",\"author\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/7zipupgrade.png?fit=1597%2C1123&ssl=1\",\"width\":1597,\"height\":1123},\"datePublished\":\"2025-01-25T11:33:48+00:00\",\"dateModified\":\"2025-01-25T11:37:32+00:00\",\"inLanguage\":\"en-GB\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#webpage\"},\"articleSection\":\"Powershell, Remediation, 7-zip, 7zip, Intune, powershell, Remediation script, windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/#listItem\",\"name\":\"Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/#listItem\",\"position\":2,\"name\":\"Development\",\"item\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/#listItem\",\"name\":\"Powershell\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/#listItem\",\"position\":3,\"name\":\"Powershell\",\"item\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#listItem\",\"name\":\"Update 7-Zip Automatically\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/#listItem\",\"name\":\"Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#listItem\",\"position\":4,\"name\":\"Update 7-Zip Automatically\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/#listItem\",\"name\":\"Powershell\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#person\",\"name\":\"Lee Burridge\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#personImage\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/plugins\\\/ultimate-member\\\/assets\\\/img\\\/default_avatar.jpg\",\"width\":96,\"height\":96,\"caption\":\"Lee Burridge\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/\",\"name\":\"Lee Burridge\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#authorImage\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/plugins\\\/ultimate-member\\\/assets\\\/img\\\/default_avatar.jpg\",\"width\":96,\"height\":96,\"caption\":\"Lee Burridge\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#webpage\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/\",\"name\":\"Update 7-Zip Automatically - \\ud83d\\udc7dDigital Saviour\",\"description\":\"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/7zipupgrade.png?fit=1597%2C1123&ssl=1\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#mainImage\",\"width\":1597,\"height\":1123},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2025\\\/01\\\/25\\\/update-7-zip-automatically\\\/#mainImage\"},\"datePublished\":\"2025-01-25T11:33:48+00:00\",\"dateModified\":\"2025-01-25T11:37:32+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/\",\"name\":\"\\ud83d\\udc7dDigital Saviour\",\"alternateName\":\"DS\",\"description\":\"Tech. ancient civilizations, conspiracies, UAPs and more\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour","description":"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.","canonical_url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/","robots":"max-image-preview:large","keywords":"7-zip,7zip,intune,powershell,remediation script,windows","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#blogposting","name":"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour","headline":"Update 7-Zip Automatically","author":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author"},"publisher":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1597%2C1123&ssl=1","width":1597,"height":1123},"datePublished":"2025-01-25T11:33:48+00:00","dateModified":"2025-01-25T11:37:32+00:00","inLanguage":"en-GB","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#webpage"},"isPartOf":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#webpage"},"articleSection":"Powershell, Remediation, 7-zip, 7zip, Intune, powershell, Remediation script, windows"},{"@type":"BreadcrumbList","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.digitalsaviour.co.uk\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/#listItem","name":"Development"}},{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/#listItem","position":2,"name":"Development","item":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/#listItem","name":"Powershell"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/#listItem","position":3,"name":"Powershell","item":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#listItem","name":"Update 7-Zip Automatically"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/#listItem","name":"Development"}},{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#listItem","position":4,"name":"Update 7-Zip Automatically","previousItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/#listItem","name":"Powershell"}}]},{"@type":"Person","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#person","name":"Lee Burridge","image":{"@type":"ImageObject","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#personImage","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/plugins\/ultimate-member\/assets\/img\/default_avatar.jpg","width":96,"height":96,"caption":"Lee Burridge"}},{"@type":"Person","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/","name":"Lee Burridge","image":{"@type":"ImageObject","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#authorImage","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/plugins\/ultimate-member\/assets\/img\/default_avatar.jpg","width":96,"height":96,"caption":"Lee Burridge"}},{"@type":"WebPage","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#webpage","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/","name":"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour","description":"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#breadcrumblist"},"author":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author"},"creator":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1597%2C1123&ssl=1","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#mainImage","width":1597,"height":1123},"primaryImageOfPage":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/#mainImage"},"datePublished":"2025-01-25T11:33:48+00:00","dateModified":"2025-01-25T11:37:32+00:00"},{"@type":"WebSite","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#website","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/","name":"\ud83d\udc7dDigital Saviour","alternateName":"DS","description":"Tech. ancient civilizations, conspiracies, UAPs and more","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"\ud83d\udc7dDigital Saviour - Tech. ancient civilizations, conspiracies, UAPs and more","og:type":"article","og:title":"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour","og:description":"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.","og:url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/","og:image":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png","og:image:secure_url":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png","og:image:width":1597,"og:image:height":1123,"article:published_time":"2025-01-25T11:33:48+00:00","article:modified_time":"2025-01-25T11:37:32+00:00","twitter:card":"summary_large_image","twitter:site":"@leeburridge","twitter:title":"Update 7-Zip Automatically - \ud83d\udc7dDigital Saviour","twitter:description":"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.","twitter:image":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png"},"aioseo_meta_data":{"post_id":"353","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-09-26 11:03:22","updated":"2025-09-26 11:03:22","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.digitalsaviour.co.uk\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/\" title=\"Powershell\">Powershell<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUpdate 7-Zip Automatically\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.digitalsaviour.co.uk\/blog"},{"label":"Development","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/"},{"label":"Powershell","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/"},{"label":"Update 7-Zip Automatically","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/"}],"jetpack-related-posts":[{"id":297,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/24\/fixing-your-winre-partition-using-intune-mem\/","url_meta":{"origin":353,"position":0},"title":"Step-by-Step Recovery Partition Fix with Intune","author":"Lee Burridge","date":"March 24, 2023","format":false,"excerpt":"We may have been here before you and I. Your build has messed up. Partitions have been setup wrong. So not what? Your recovery partition is broken. This causes problems with encryption any much more. So what do we do? The solutions out there are generally fix the build and\u2026","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":264,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/14\/the-mystery-of-secure-boot-intune-compliance\/","url_meta":{"origin":353,"position":1},"title":"The mystery of Secure Boot Intune compliance","author":"Lee Burridge","date":"March 14, 2023","format":false,"excerpt":"Intune compliance is a fantastic tool - if done right - but it has it's gotchas. Today I'm going to talk about a particular bugbear of mine which is Secure Boot compliance. When setting up a compliance policy you can set the standard policy up to check for Secure Boot\u2026","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":254,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/02\/06\/force-sync-all-aad-joined-devices\/","url_meta":{"origin":353,"position":2},"title":"Force sync all AAD joined devices","author":"Lee Burridge","date":"February 6, 2023","format":false,"excerpt":"We have all been here. It's a common issue really and one that doesn't have a simple \"one-click\" solution within Endpoint Manager.","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":260,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/03\/cisco-anyconnect-client-with-umbrella-module\/","url_meta":{"origin":353,"position":3},"title":"Cisco AnyConnect Client with Umbrella Module","author":"Lee Burridge","date":"March 3, 2023","format":false,"excerpt":"Cisco Umbrella is a very popular system that is generally used for web filtering. It's very powerful but it has some issues. This article talks about problems with the Cisco Umbrella Roaming client when used with certain VPNs. In my case I came across this because the Fortinet VPN client\u2026","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2023\/03\/image.png?fit=387%2C208&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":594,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2026\/01\/26\/navigating-the-end-of-life-maze-a-powershell-script-to-track-software-support-cycles\/","url_meta":{"origin":353,"position":4},"title":"Navigating the End-of-Life Maze: A PowerShell Script to Track Software Support Cycles","author":"Lee Burridge","date":"January 26, 2026","format":false,"excerpt":"In the ever-evolving world of technology, keeping tabs on when software reaches its end-of-life (EOL) or end-of-support (EOS) is crucial. Why? Because once a product hits EOL, it stops receiving security updates, bug fixes, and technical support from the vendor. This leaves systems vulnerable to cyber threats, compliance issues, and\u2026","rel":"","context":"In &quot;Development&quot;","block_context":{"text":"Development","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/"},"img":{"alt_text":"computer codes","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":328,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/22\/how-windows-11-affects-on-screen-keyboard-for-tablets\/","url_meta":{"origin":353,"position":5},"title":"How Windows 11 Affects On-Screen Keyboard for Tablets","author":"Lee Burridge","date":"January 22, 2025","format":false,"excerpt":"In Windows 10 there was a tablet mode that would change the way your device worked so that it was usable as a tablet without a keyboard attached. In Windows 11 they have taken away this feature which causes some issues if you have a device that will not normally\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/surface-go-tablet-mode.png?fit=1024%2C768&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/surface-go-tablet-mode.png?fit=1024%2C768&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/surface-go-tablet-mode.png?fit=1024%2C768&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/surface-go-tablet-mode.png?fit=1024%2C768&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1597%2C1123&ssl=1","_links":{"self":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":4,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts\/353\/revisions\/358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/media\/354"}],"wp:attachment":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}