DrummerViking / GraphTools

Powershell Graph Tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Powershell Graph tools

Powershell Graph tools mostly use in Exchange Online (Office 365) and AzureAD.
Most of these apps will require to register an AzureAD App Registration in order to work in bulk.
If that is the case, you can use the 1st script to register an App and later use this app for the rest of the scripts.

These scripts will require your AzureAD App with a registered Certificate to authenticate.
You can still rely on the 1st script offered here to create the app and create the certificate for yourself, or you can create your app and certificate manually following this doc

  1. Register-AzureADApp
  2. Remove-GraphUserCalendarEvents
  3. Export-GraphUserCalendarEvents
  4. Send-GraphMailMessage
  5. Update-GraphUserCalendarEventsEndDate

Register-AzureADApp

Script to create a new AzureAD App registration.

More Info - Download (Right click and select 'Save link as')


Remove-GraphUserCalendarEvents

Script to delete meeting items using Graph via Powershell.
It can run on a single mailbox, or multiple mailboxes.

More Info - Download (Right click and select 'Save link as')


Export-GraphUserCalendarEvents

Script to export calendar items to CSV using Graph via Powershell.
It can run on a single mailbox, or multiple mailboxes.

Take into account that Graph Api does not support connecting to Archive mailboxes, so if you need to access and export archive items, you can rely on EWS. More info here

The report exports the following columns:

Subject, Organizer, Attendees, Location, Start Time, End Time, Type, ItemId

More info - Download (Right click and select 'Save link as')


Send-GraphMailMessage

Script to send email messages through MS Graph using Powershell.

More Info - Download (Right click and select 'Save link as')


Update-GraphUserCalendarEventsEndDate

Script to update recurring meeting with no end date to have an end date using Graph via Powershell.
More Info - Download (Right click and select 'Save link as')

About

Powershell Graph Tools

License:MIT License


Languages

Language:PowerShell 100.0%