$excel = new-object -comobject Excel.Application $excel.visible = $true $workbook = $excel.workbooks.add()