COM error when using WebAdministration module with PowerShel
Brought to you by:
bozho
When I try to use any commands when using the WebAdministration powershell provider running under Console, I get the COM error shown in the attached screenshot. However, this works just fine when using the regular PowerShell.exe console (Screenshot also attached). I verified that I am running Console as admin, so I wouldn't think it was a permission issue, but I don't know.
Error and success screenshots
I don't have much experience with PowerShell.
What OS are you running? Which Console and PowerShell versions?
--
Marko
Sorry, I should have included that with the original bug report!
I'm running Windows 7 Ultimate, using PowerShell 2.0 with Console version 2.00.145.
Could it be that you're running a 32-bit Console on 64-bit Windows and that your COM component is 64-bit only?