Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Cannot load COM type Outlook.Application

$
0
0

I would like to run this:

$Outlook = New-Object -ComObject Outlook.Application

But I get the following error message:

New-Object : Cannot load COM type Outlook.Application.
At line:1 char:22
+ $Outlook = New-Object <<<< -ComObject Outlook.Application
+ CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
+ FullyQualifiedErrorId : CannotLoadComObjectType,Microsoft.PowerShell.Commands.NewObjectCommand

Any idea?

Thank you!


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>