User created Outlook Items: Help Fine tuning a command

I couldnt find a calendar in O365 and was banging my head against the desk. Then I realized… it has to be user created, to the shell we go.

 

Get-Mailbox | Get-MailboxFolderStatistics | Where-Object {$.FolderType -eq ‘User Created’ -and $.folderpath -like ‘/calendar/*’} | select identity, name | ft provided me with all user created calendars yay!

 

I guess my question for everyone is with the command above will it show me who the creator the calendar? I only ask because the calendar I was looking for is called TYMOFF Calendar.

 

When checking the permissions on this calendar I ran the following command:

 

Get-MailboxFolderPermission -Identity “username from above command:calendartymoff Calendar”

 

The results showed that 5 other users also had ownership permissions but they didnt show in the output of my first command.

 

Does anyone know how I can check who created a calendar? That’s to say the user that first created the calendar regardless of current permissions. Thanks!

 

Source that helped me with all of this: https://powershell.org/forums/topic/finding-user-created-shared-outlook-calendars-in-exchange/

submitted by /u/PowerlessShell
[link] [comments]

Leave a Reply