错误“启动Excel时检索具有CLSID的组件的COM类工厂”

我在64位机器上运行PowerShell。 该线

$excel = New-Object -ComObject Excel.Application 

给出错误

 New-Object : Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). 

我研究并试图从运行powershell_ise.exe

 C:\Windows\SysWOW64\WindowsPowerShell\v1.0 

如这里所解释的,但是我仍然得到错误。

那么,这里是:你必须安装Office 64bit。

我在服务器上安装了Office 2007,现在可以运行