How to resolve Get-NetConnectionProfile : Provider load failure on x86 Powershell?

▲
7
▼

If I run Get-NetConnectionProfile on 64-bit Powershell it works fine. If I run it on 32-bit Powershell I get the following error:

Get-NetConnectionProfile : Provider load failure
    + CategoryInfo          : NotSpecified: (MSFT_NetConnectionProfile:root/St
   andardCi...nnectionProfile) [Get-NetConnectionProfile], CimException
    + FullyQualifiedErrorId : HRESULT 0x80041013,Get-NetConnectionProfile

This is on 64-bit Windows 8.1 with Powershell version 4.0.

powershell
asked on Stack Overflow Jan 26, 2015 by Jack Ukleja

1 Answer

▲
10
▼

It's not meant to work on the 32bit shell. Frankly, it shouldn't even allow you to load the module. These commands use core operating system libraries. Since the core o/s is 64bit, the process trying to load these libraries must also be 64 bit. I hope this makes sense.

answered on Stack Overflow Jan 26, 2015 by x0n

User contributions licensed under CC BY-SA 3.0