Ok, ze weten het hier zelf niet helemaal zo blijkt
ik heb wel een klein powershell scriptje gemaakt om te testen, en het lukt me om een appointment te maken in mijn eigen agenda, de attendees staan er wel in, maar krijgen geen meldingen in hun agenda te zien...
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| $olAppointmentItem = 1
$o = new-object -comobject outlook.application
$a = $o.CreateItem($olAppointmentItem)
$a.meetingstatus.olMeeting
$a.Start = "14/1/2020 11:00 AM"
$a.Duration = 60
$a.Subject = "Test Meeting"
$a.Body = "Just a test, please accept, then delete."
$a.Location = "Here"
$a.ReminderMinutesBeforeStart = 15
$a.ReminderSet = $True
$a
$a.ForceUpdateToAllAttendees = $True
$a.recipients.add("iemand@ergens.com")
$a.send()
$result = $a.Save() |
en dan krijg ik dit als resultaat
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
| Application : Microsoft.Office.Interop.Outlook.ApplicationClass
Class : 26
Session : System.__ComObject
Parent : System.__ComObject
Actions : System.__ComObject
Attachments : System.__ComObject
BillingInformation :
Body : Just a test, please accept, then delete.
Categories :
Companies :
ConversationIndex : 01D5C6FC7319B6939910AFF842518EC81D74E36142A2
ConversationTopic : Test Meeting
CreationTime : 1/01/4501 0:00:00
EntryID :
FormDescription : System.__ComObject
GetInspector : System.__ComObject
Importance : 1
LastModificationTime : 1/01/4501 0:00:00
MAPIOBJECT : System.__ComObject
MessageClass : IPM.Appointment
Mileage :
NoAging : False
OutlookInternalVersion : 0
OutlookVersion :
Saved : False
Sensitivity : 0
Size : 0
Subject : Test Meeting
UnRead : True
UserProperties : System.__ComObject
AllDayEvent : False
BusyStatus : 2
Duration : 60
End : 14/01/2020 12:00:00
IsOnlineMeeting : False
IsRecurring : False
Location : Here
MeetingStatus : 0
NetMeetingAutoStart : False
NetMeetingOrganizerAlias :
NetMeetingServer :
NetMeetingType : 0
OptionalAttendees :
Organizer :
Recipients : System.__ComObject
RecurrenceState : 0
ReminderMinutesBeforeStart : 15
ReminderOverrideDefault : False
ReminderPlaySound : False
ReminderSet : True
ReminderSoundFile :
ReplyTime : 1/01/4501 0:00:00
RequiredAttendees : Ikke
Resources :
ResponseRequested : True
ResponseStatus : 0
Start : 14/01/2020 11:00:00
NetMeetingDocPathName :
NetShowURL :
Links :
ConferenceServerAllowExternal : False
ConferenceServerPassword :
ItemProperties : System.__ComObject
DownloadState : 1
InternetCodepage : 28591
MarkForDownload : 0
IsConflict : False
MeetingWorkspaceURL :
AutoResolvedWinner : False
Conflicts : System.__ComObject
PropertyAccessor : System.__ComObject
SendUsingAccount :
GlobalAppointmentID : 040000008200E00074C5B7101A82E0080000000060E069D504C7D501000000000000000010000000DAB8C339D96536459BC7AFE5961C8354
ForceUpdateToAllAttendees : False
StartUTC : 14/01/2020 10:00:00
EndUTC : 14/01/2020 11:00:00
StartInStartTimeZone : 14/01/2020 11:00:00
EndInEndTimeZone : 14/01/2020 12:00:00
StartTimeZone : System.__ComObject
EndTimeZone : System.__ComObject
ConversationID :
RTFBody : {123, 92, 114, 116...}
BodyFormat : 2
DoNotForwardMeeting : False
Application : Microsoft.Office.Interop.Outlook.ApplicationClass
Class : 4
Session : System.__ComObject
Parent : System.__ComObject
Address :
AddressEntry : System.__ComObject
AutoResponse :
DisplayType : 0
EntryID : 00000000DCA740C8C042101AB4B908002B2FE18201000000000000002F6F3D45786368616E67654C6162732F6F753D45786368616E67652041646D696E69737472617469766520477
26F7570202846594449424F484632335350444C54292F636E3D526563697069656E74732F636E3D32396330316432313765633434663337383839623331363937303739633335362D
41506F656C7300
Index : 2
MeetingResponseStatus : 0
Name : Iemand
Resolved : True
TrackingStatus : 0
TrackingStatusTime : 1/01/4501 0:00:00
Type : 1
PropertyAccessor : System.__ComObject
Sendable : True |