{"id":6782,"date":"2023-03-22T00:49:28","date_gmt":"2023-03-22T00:49:28","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6782"},"modified":"2023-03-22T00:49:30","modified_gmt":"2023-03-22T00:49:30","slug":"how-to-find-versions-of-office-installed-via-batchpatchcmd-and-powershell","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-find-versions-of-office-installed-via-batchpatchcmd-and-powershell","title":{"rendered":"How to find version&#8217;s of Office installed via BatchPatch\\CMD and Powershell"},"content":{"rendered":"\n<p>32bit<\/p>\n\n\n\n<p>cmd.exe \/c echo . | powershell.exe -ExecutionPolicy Bypass -command &#8220;(Get-ItemProperty -Path &#8216;HKLM:\\SOFTWARE\\Microsoft\\Office\\ClickToRun\\Configuration&#8217; -ErrorAction SilentlyContinue -WarningAction SilentlyContinue) | Select-Object -ExpandProperty VersionToReport&#8221;<\/p>\n\n\n\n<p>64bit<\/p>\n\n\n\n<p>cmd.exe \/c echo . | powershell.exe -ExecutionPolicy Bypass -command &#8220;(Get-ItemProperty -Path &#8216;HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Office\\ClickToRun\\Configuration&#8217; -ErrorAction SilentlyContinue -WarningAction SilentlyContinue)&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>32bit cmd.exe \/c echo . | powershell.exe -ExecutionPolicy Bypass -command &#8220;(Get-ItemProperty -Path &#8216;HKLM:\\SOFTWARE\\Microsoft\\Office\\ClickToRun\\Configuration&#8217; -ErrorAction SilentlyContinue -WarningAction SilentlyContinue) | Select-Object -ExpandProperty VersionToReport&#8221; 64bit cmd.exe \/c echo . | [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1205,576,4197],"class_list":["post-6782","post","type-post","status-publish","format-standard","hentry","category-research","tag-office","tag-powershell","tag-versions"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6782","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=6782"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6782\/revisions"}],"predecessor-version":[{"id":6783,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6782\/revisions\/6783"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}