I created a module on a server that has a function. Within the function, it is calling a 32bit SDK. On the server itself, if I use X86 powershell I can run the function fine. What I am trying to do is create a pssession to the server and call the function but I get this error: Retrieving the COM class factory for component with CLSID {DEBC44AD-D8B6-40E7-A9B9-00B5E0E30284} failed due to the following error: 80040154. Which tells me it is 32bit\64bit error. I created a PSSession config using 32 bit and call the session by name but I still receive the error.
Any ideas?