look like its working, but in some reason the time frame part not working correct and if i run this command just for one user , in report i can see meeting information from previos year and some meeting information from this yer but other monthes
I’m not sure if it works as you might think it does.
How I understand the help for the cmdlet Get-CalendarDiagnosticObjects you specify with -StartDate and -EndDate the time the calendar entry has been last modified - not the date and time of a meeting.
So for example when you created a calender entry 4 weeks ago with a meeting for today you wouldn’t get it at all using your query from your question.
Thank you Olaf,
and do you haev any sugestions what i can use to collect all meeting information
and also how i can export all data in scv, because for now if i run my script “as is” its not collecting all data, its overiting data for each user
OK, that looks much cleaner. But that does not change the fact that Get-CalendarDiagnosticObjects does not look into an appointment or meeting for the actual date and time. It just checks the lastWriteTime of the mailbox/calendar item. Or am I wrong?