Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

powershell

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.

like image 523
Jack Ukleja Avatar asked Jan 26 '15 18:01

Jack Ukleja


1 Answers

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.

like image 100
x0n Avatar answered Nov 11 '22 11:11

x0n