使用powershell在线调用dism.exe命令安装语言包
我得到下面的错误和语言包没有得到安装使用上述命令 图像版本:10.0.10116.0 错误:87 在此上下文中无法识别包路径选项。更多 有关详细信息,请参阅帮助使用powershell在线调用dism.exe命令安装语言包,powershell,dism,Powershell,Dism,我得到下面的错误和语言包没有得到安装使用上述命令 图像版本:10.0.10116.0 错误:87 在此上下文中无法识别包路径选项。更多 有关详细信息,请参阅帮助 如有疑问,请阅读本手册。参数名为/PackagePath(不带连字符),不是/Package Path,而是在使用与下面代码相同的命令安装后,{PS C:\Windows\system32>$exefile=“C:\Windows\system32\dism.exe”$command=“C:\Windows\system32\dism.
如有疑问,请阅读本手册。参数名为
/PackagePath
(不带连字符),不是/Package Path
,而是在使用与下面代码相同的命令安装后,{PS C:\Windows\system32>$exefile=“C:\Windows\system32\dism.exe”$command=“C:\Windows\system32\dism.exe/online/add Package/PackagePath:”+“C:\lang\fi\lp.cab”调用表达式$command}未收到任何错误,但语言包未反映在区域和语言设置中
**$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**