Working with Excel in Powershell triggers Outlook to open - by JesseG7134

Status : 


Sign in
to vote
ID 841516 Comments
Status Active Workarounds
Type Bug Repros 2
Opened 3/26/2014 8:49:29 PM
Access Restriction Public


For example, the following code triggers the Outlook Startup Wizard to appear:
$excel = New-Object -ComObject excel.application
$workbook = $excel.workbooks.Open("C:\Users\example\Documents\someexcelfile.xls")
$worksheets = $workbook.Worksheets

Also, please note the following links which report the same problem:
Sign in to post a comment.