【发布时间】:2014-10-17 11:21:03
【问题描述】:
我已在 Windows Server 2008R2、2012 和 2012R2 上成功安装了 vcredist_x86.exe 和 vcredist_x64.exe,使用:
start-process -FilePath "vcredist_x86.exe" -ArgumentList "/install /q /norestart" -Verb RunAs -wait
但是
由于某种原因,这不适用于 2008(不是 R2),无论是 x86 还是 x64。我总是得到提示。正在从 \share 安装文件。
非常感谢您的帮助。
谢谢!
【问题讨论】:
-
只是一个理论,但其中一些系统的 PowerShell 版本是什么?我想知道他们是否不支持动词。
-
W2008 64bit: Major Minor Build Revision ----- ----- ----- -------- 2 0 -1 -1 2008R2 Major Minor Build Revision - ---- ----- ----- -------- 2 0 -1 -1 好像一样。
标签: windows powershell silent-installer vcredist