Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 如何使用任何脚本自动将IE升级到受支持的最新版本_Internet Explorer_Powershell_Batch File_Upgrade - Fatal编程技术网

Internet explorer 如何使用任何脚本自动将IE升级到受支持的最新版本

Internet explorer 如何使用任何脚本自动将IE升级到受支持的最新版本,internet-explorer,powershell,batch-file,upgrade,Internet Explorer,Powershell,Batch File,Upgrade,我的问题是,我能否在windows server 2008 R2上将IE版本升级到受支持的最新版本。 我搜索了很多帖子和论坛,但没有找到如何使用powershell脚本或批处理脚本自动化IE升级任务的方法。 我获得了有关如何获取和验证正在运行的IE版本的powershell命令 (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Internet Explorer').Version 那么,您认为如果我可以下载IE安装程序文件,我是否能够从脚本(任何脚本)运

我的问题是,我能否在windows server 2008 R2上将IE版本升级到受支持的最新版本。 我搜索了很多帖子和论坛,但没有找到如何使用powershell脚本或批处理脚本自动化IE升级任务的方法。 我获得了有关如何获取和验证正在运行的IE版本的powershell命令

(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Internet Explorer').Version
那么,您认为如果我可以下载IE安装程序文件,我是否能够从脚本(任何脚本)运行该可执行文件。如果是,那么怎么做。需要在非交互模式下运行它

$exepath ='c:\install\IE11-Windows6.1-x64-en-us.exe'
$arguments='/quiet norestart'
Start-Process -FilePath $exepath -ArgumentList $arguments -PassThru
下载exe并将其保存为所需的文件,将
$exepath
更改为正确的路径。这样就行了<代码>/quiet使其成为“非交互式”

下载exe并将其保存为所需的文件,将
$exepath
更改为正确的路径。这样就行了<代码>/quiet使其成为“非交互式”