Powershell cannot create Outlook COM object from Command Prompt

前端 未结 4 1227
别跟我提以往
别跟我提以往 2021-01-18 22:39

I have a script used to send mails via Microsoft Outlook from command prompt. This works fine if I run it from inside PowerShell or ISE console. But when I tried to execute

4条回答
  •  清酒与你
    2021-01-18 23:24

    If your installation of Outlook is 32-bit, make sure you are using the 32-bit version of PowerShell (x86) and not the 64-bit one.

提交回复
热议问题