calendar, powershell, office 365

can i use any powershell commnads to find no.of items in each users calendar on a weekly basis.


$(Foreach ($User in get-mailbox -resultsize Unlimited) {$User | Select Name,@{N="CalItemsInFolder";E={($_ | Get-MailboxFolderStatistics -FolderScope 'Calendar').ItemsInFolder}}}) | Export-Csv M:\report.csv -NoTypeInformation
 Get-Mailbox |Get-MailboxFolderStatistics –FolderScope ‘Calendar’ | Export-CSV M:\work\Office365-MailboxSize2-Report.csv

Attached is the output. unable to understand what it means under items in folder and items and subfolders column which is 201

cant see anywhere in my calendar?
CALENDAR.xlsx
pramod1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
You can get such statistics, as those are TOTAL numbers, you cannot break them down by date, size or anything else. For such item-level statistics, you will need to develop your own solution using EWS or the Graph API.
0
pramod1Author Commented:
what is total numbers mean?

like in column it shows 2 and other column it shows 201?

I am unable to tally this number in my calendar?
0
Vasil Michev (MVP)Commented:
Mean the count, aggregate of all items in the folder. And those columns are two very different parameters, one shows the item count in the *current* folder only, the other one is folder and any subfolders. Which includes things like the Birthday calendar, Holiday calendar for US/UK/whichever country you have added, etc.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pramod1Author Commented:
one shows the item count in the *current* folder only i.e today's date?

the other one is folder and any subfolders.- how can it show 201 ?? I clicked on calendar, birthdays of mine it shows 4 only?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.