Get-EAICalendarEventsOfRecurrenceItems
Module: Exchange_AddIn
Applies to: Exchange online
This function requires MS Graph access to be setup.
Azure AD and Exchange online calendaringa application access needed:
- User.Read.All
- Calendars.Read
Get-EaiCalendarEventsOfRecurrenceItems
SYNOPSIS
Get recurrence calendar events for a specific user.
SYNTAX
Get-EaiCalendarEventsOfRecurrenceItems [-UserUPN] <Array> [-OutputPath] <Object> [[-domain] <Object>]
[[-DaysForwards] <Object>] [[-DaysBackwards] <Object>] [<CommonParameters>]
DESCRIPTION
Long description
EXAMPLES
EXAMPLE 1
Export-EaiCalendarEventsOfRecurrenceItems -UserName 'mike@contoso.com' -DaysBackwards 180 -DaysForwards 180 -OutputPath c:\temp2\ -verbose
This will search the mailbox of Mike@contoso.com for a period of 180 days before and after the day this is run and output the file to the c:\temp2\ folder with verbose information displayed.
EXAMPLE 2
Export-EaiCalendarEventsOfRecurrenceItems -UserName 'Diane@forthcoffee.com' -DaysBackwards 30 -DaysForwards 0 -OutputPath c:\temp\
This will search the mailbox of Diane@forthcoffee.com for a period of 30 days before until the day this is run and output the file to the c:\temp\ folder.
PARAMETERS
-UserUPN
Type: Array
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OutputPath
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-domain
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DaysForwards
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: 180
Accept pipeline input: False
Accept wildcard characters: False
-DaysBackwards
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: 180
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
UserName to scan and than date range for the query.
OUTPUTS
CSV file in defined value.
NOTES
Filter parameter value
start-process https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter
recurrance values
start-process https://docs.microsoft.com/en-us/graph/api/resources/recurrencerange?view=graph-rest-1.0
Recurrence patterns
https://docs.microsoft.com/en-us/graph/api/resources/recurrencepattern?view=graph-rest-1.0
As you make purchases from Amazon consider clicking my link first, then purchase items as you normally would. This helps support my blogging efforts, which is no cost to you. Simple click the Amazon link and complete your ordinary shopping tasks. Thank you.
Disclosure: As an Amazon Associate, I earn a small commission from qualifying purchases made through the links in this post, at no extra cost to you. This helps support the blog!