2
如果我在64位Powershell上運行Get-NetConnectionProfile
,它工作正常。如果我在32位Powershell上運行它,我會收到以下錯誤消息:如何解決x86 PowerShell中的Get-NetConnectionProfile:Provider加載失敗?
Get-NetConnectionProfile : Provider load failure
+ CategoryInfo : NotSpecified: (MSFT_NetConnectionProfile:root/St
andardCi...nnectionProfile) [Get-NetConnectionProfile], CimException
+ FullyQualifiedErrorId : HRESULT 0x80041013,Get-NetConnectionProfile
這是在64位Windows 8.1上使用Powershell版本4.0。
非常奇怪的是,這個模塊在32位Powershell中加載,然後開始... – Schneider 2015-01-26 18:22:35
那麼,控制加載模塊的清單並未指定模塊的位數。但是如果你仔細想想,模塊不會提前知道o/s的位數,所以設置這可能是一個問題。 – x0n 2015-01-26 18:24:35