I have run uninstall-module -name 'pwps_dab' -force -allversions on 32-bit ISE and 64-bit ISE and ran install-module -name 'pwps_dab' in the 64-bit ISE with no issues. I see the folder created here: C:\Program Files\WindowsPowerShell\Modules\, but no folder shows up in the 32-bit location here: C:\Program Files (x86)\WindowsPowerShell\Modules\. Explicitly running the install-module in the 32-bit ISE doesn't appear to do anything, no progress bar, but no errors either and no folder shows up. When attempting to use new-pwlogin in the 32-bit ISE I get the message:
WARNING: Error: Unable to load DLL 'dmscli.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E
at PWPS_DAB.Utility.aaApi_Initialize(Int32 init)
at PWPS_DAB.Utility.InitializePWAPI(Int32 init)
New-PWLogin : The type initializer for 'PWWrapper' threw an exception.
At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [New-PWLogin], TypeInitializationException
+ FullyQualifiedErrorId : System.TypeInitializationException,PWPS_DAB.NewPWLogin
From what I gather reading similar posts, the 64-bit install should be installing for 32-bit as well.
Any insight is appreciated.
Had some issues with Explorer and Admin on this computer as well, so uninstalled everything and did fresh installs. Still had same issue in PowerShell 32-bit ISE, but I was able to install the 32-bit module using the -Force switch on the install-module cmdlet.
Answer Verified By: Mike Dillner
You should not need to explicitly install the PWPS_DAB module for 32-bit. Only install within 64bit. It will be available within a 32-bit session of PowerShell.