How can I run command in Microsoft Exchange Server Powershell through Python script?

How can I run command in Microsoft Exchange Server Powershell through Python script?

I ran into the exact same problem under slightly different circumstances but the error message was identical. I was trying to provision MS Exchange via Puppet and Powershell scripts. You are suffering from the side effects of the File System Redirector (Windows) which runs silently. Apparently 64-bit registry keys cant be accessed by 32-bit programs and the File System Redirector will change things up on you without you even knowing it.

I found this to be an elegant solution for my situation:

32-bit applications can access the native system directory by
substituting %windir%Sysnative for %windir%System32. WOW64
recognizes Sysnative as a special alias used to indicate that the file
system should not redirect the access. This mechanism is flexible and
easy to use, therefore, it is the recommended mechanism to bypass file
system redirection. Note that 64-bit applications cannot use the
Sysnative alias as it is a virtual directory not a real one.

How can I run command in Microsoft Exchange Server Powershell through Python script?

Leave a Reply

Your email address will not be published.