I'm experiencing problems when I try to create a meeting request under a certain Outlook Version.
The following code works fine under
Outlook Version: 16.0.0.4705
- $ol = new-object -comObject Outlook.Application
- $olNamespace = $ol.GetNamespace("MAPI")
- $calendar = $olNamespace.Folders("Path to the folder where the appointment is created in")
- $termin = $calendar.Items.Add("IPM.Appointment")
the last command returns: ERROR: You cannot call a method on a null-valued expression.
And
- $calender
Product, version and build:
64 bit version of product:
Sapien PowerShell Studio 2018 5.5.153.0
Operating system:
64 bit OS:
Windows 10 Enterprise 1703 Build 15063.1209
*** Please add details and screenshots as needed below. ***
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM