Get Microsoft Edge Browser Version using registry or command line

别说谁变了你拦得住时间么 提交于 2019-12-22 12:23:24

问题


How can i get microsoft edge browser version using registry or command line? I don't want to take it from UI.


回答1:


You can get the version from PowerShell with Get-AppxPackage:

> (Get-AppxPackage Microsoft.MicrosoftEdge).Version
44.18214.1000.0

If you want to call this from cmd.exe, you can just call Powershell:

> powershell.exe "(Get-AppxPackage Microsoft.MicrosoftEdge).Version"
44.18214.1000.0



回答2:


Run the following command:

REG QUERY HKEY_CLASSES_root\AppX3xxs313wwkfjhythsb8q46xdsq8d2cvv\Application /v ApplicationName

Example output:

HKEY_CLASSES_ROOT\AppX3xxs313wwkfjhythsb8q46xdsq8d2cvv\Application
    ApplicationName    REG_SZ    @{Microsoft.MicrosoftEdge_40.15063.674.0_neutral__8wekyb3d8bbwe?ms-resource://Microsoft
.MicrosoftEdge/Resources/AppName}

Now you just need to extract the version, e.g. the 40.15063.674.0.



来源:https://stackoverflow.com/questions/46440429/get-microsoft-edge-browser-version-using-registry-or-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!