80040154
MS office oziroma v konkretnem primeru Oulook ni inštaliran:
$outlookApplication = New-Object -ComObject Outlook.Application
New-Object : Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Razred ni registriran (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
At
line:1 char:23
+
$outlookApplication = New-Object -ComObject Outlook.Application
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
CategoryInfo : ResourceUnavailable: (:) [New-Object],
COMException
+
FullyQualifiedErrorId :
NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand
Ni komentarjev:
Objavite komentar