ActiveXPosh and 64bit

This forum can be browsed by the general public. Posting is no longer allowed as the product has been discontinued.
User avatar
Posts: 8
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Mon Jan 11, 2010 2:53 pm

ActiveXPosh and 64bit

Post by anupamagarwal »

I figured out the answer.

The regasm.exe is located in the folder C:WINDOWSmicrosoft.netFramework64v2.0.50727. This I believe is the 64 bit version which should be used here. This needs to be run for ActiveXPoSH.dll file located in C:Program Files (x86)SAPIEN Technologies, IncActiveXPosh folder. The script still failed to execute with an error that the specified file cannot be found. I copied ActiveXPoSH.dll file to C:WindowsSystem32 folder and that did the trick. The scripts is working fine now.

User avatar
Posts: 1
Joined: Wed Jun 02, 2010 6:01 am

ActiveXPosh and 64bit

Post by cashi01 »


now i´m completely confused :-) Could be of my bad english...
So can anyone exactly describe waht i have to to ?
I have to run Exchange2007 x64 Powershell commands out of an 32bit cscript vbs on a w2k8 x64. I run the cscript from syswow64....
What do I have to do to get this running ?
Thx in advance...

User avatar
Alexander Riedel
Posts: 7260
Joined: Tue May 29, 2007 4:43 pm

ActiveXPosh and 64bit

Post by Alexander Riedel »

You cannot cross the 32/64 bit divide from within one process.
If you have to run powershell 64 bit commands you must run them from
a 64 bit process.

You can either run
- a 64 bit VBScript using ActiveXPosh
- run a 64 bit PowerShell script directly
- encapsulate your Powershell commands in a 64bit script package
with PrimalScript 2009 and run it as an external process

Alexander Riedel
SAPIEN Technologies, Inc.