使用powershell在线调用dism.exe命令安装语言包
Installing a language pack using powershell invoking dism.exe command online
**$exefile = "C:\Windows\System32\dism.exe"
$command="C:\Windows\System32\dism.exe /online /add-package /package-path:"+"C:\lang\fr-ca\lp.cab"
Invoke-Expression $command**
我遇到以下错误,使用上面的命令没有安装语言包
图片版本:10.0.10116.0
错误:87
The package-path option is not recognized in this context. For more
information, refer to the help.
如有疑问,请阅读 documentation。参数名称是 /PackagePath
(没有连字符),而不是 /Package-Path
.
**$exefile = "C:\Windows\System32\dism.exe"
$command="C:\Windows\System32\dism.exe /online /add-package /package-path:"+"C:\lang\fr-ca\lp.cab"
Invoke-Expression $command**
我遇到以下错误,使用上面的命令没有安装语言包
图片版本:10.0.10116.0
错误:87
The package-path option is not recognized in this context. For more information, refer to the help.
如有疑问,请阅读 documentation。参数名称是 /PackagePath
(没有连字符),而不是 /Package-Path
.