Product: Microsoft 365 Apps for Enterprise - de-de, 64 Bit, Productversion: O365ProPlusRetail - de-de, Build: 0.20306 Product: Microsoft Office Professional Plus 2019 - de-de, 64 Bit, Productversion: ProPlus2019Volume - de-de, Build: 9.20043 Product: Microsoft Office Professional Plus 2019 - de-de, 64 Bit, Productversion: ProPlus2019Retail - de-de, Build: 0.20306 $x32 = $Īn emtpy line is the separator between the various outputs. It then reads the name and version from registry. I wrote this script, it's based on the version of excel.exe. I'm hoping that someone has an easier methodology than many if/else if/else if statements in a huge script. And it, itself, doesn't contain a friendly name, so further scripting would be necessary to convert data of ProPlusRetail.16_en-us_x-none to "Office 2016 Professional Plus" or O365BusinessRetail.16_en-us_x-none to "Office 365 Business (2016)" It exists at least on version 2016, but not with older versions. Otherwise, the registry value at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Scenario\INSTALL\ProductstoAdd Unfortunately, this returns a varying array of applications, and even if more finely filtered, it doesn't tell me if "Office 16" is "Pro", "Professional Plus", or "Office365". The closest method I was able to come up with was using a WMIC query: wmic product where "Name like '%Office%'" get name, version I have pored through the registry and the file system, and I can find no perfect method for collecting the installed Office version. Programmatically, what method can get the name of the installed Microsoft Office version? I have tried every Powershell command, VBScript, and WMI query I could find.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |