使用注册表或命令行获取Microsoft Edge浏览器版本 [英] Get Microsoft Edge Browser Version using registry or command line

查看:1023
本文介绍了使用注册表或命令行获取Microsoft Edge浏览器版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用注册表或命令行获取Microsoft Edge浏览器版本? 我不想从UI上获取它.

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

推荐答案

您可以使用Get-AppxPackage从PowerShell中获取版本:

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

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

如果要从cmd.exe调用它,则可以仅调用Powershell:

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

这篇关于使用注册表或命令行获取Microsoft Edge浏览器版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆