Looking for a way export all meetings from shared calendars on Exchange 2016

Régis THENOT 1 Reputation point
2021-06-08T11:47:26.667+00:00

Hi,
My company asked me to work on a solution to evaluation carbon footprints of employees meetings in the organization.
To do that, I'm trying to export from a single point and account all the meetings from mailbox shared with this dedicated account.
I could not find any way to do that with PowerShell or any other native tools.
Would anyone have an idea ?
Thanks

Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
511 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Andy David - MVP 142.2K Reputation points MVP
    2021-06-08T12:29:54.273+00:00
    0 comments No comments

  2. Régis THENOT 1 Reputation point
    2021-06-08T14:38:11.797+00:00

    I have trouble using the script. I'm working on a remote computer Windows 10. I installed EWS API via nuget but the validation fails when I use the tools since the registry key does not exist.
    I can't launch the script from the server itself. Any experience with that ?


  3. Régis THENOT 1 Reputation point
    2021-06-08T15:27:34.667+00:00

    Function Load-EWS {
    Write-Verbose "Loading EWS Managed API"
    $EWSdll = (($(Get-ItemProperty -ErrorAction SilentlyContinue -Path Registry::$(Get-ChildItem -ErrorAction SilentlyContinue -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Web Services' | Sort Name -Descending | Select -First 1 -ExpandProperty Name)).'Install Directory') + "Microsoft.Exchange.WebServices.dll")

    If (Test-Path $EWSdll) {
        Try {
            Import-Module $EWSdll -ErrorAction Stop
        } ....
    

  4. Chris 651 Reputation points
    2021-06-08T16:55:57.447+00:00

    If it is a one-time job the best way is to use Outlook - Kalender - View - List copy & paste to Excel