From 3a6be0db97f723532246975ecd8daada09a49d3d Mon Sep 17 00:00:00 2001 From: Martien Date: Thu, 4 Sep 2025 10:31:15 +0200 Subject: [PATCH] Add Exchange/Get-MailboxesPerType.ps1 --- Exchange/Get-MailboxesPerType.ps1 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Exchange/Get-MailboxesPerType.ps1 diff --git a/Exchange/Get-MailboxesPerType.ps1 b/Exchange/Get-MailboxesPerType.ps1 new file mode 100644 index 0000000..725ae11 --- /dev/null +++ b/Exchange/Get-MailboxesPerType.ps1 @@ -0,0 +1,5 @@ +# Haal alle mailboxen op +$mailboxes = Get-Recipient -RecipientTypeDetails UserMailbox, SharedMailbox, RoomMailbox, EquipmentMailbox, RemoteUserMailbox, RemoteSharedMailbox -ResultSize Unlimited + +# Groepeer en tel per type +$mailboxes | Group-Object RecipientTypeDetails | Select-Object Name, Count