I am trying to work out how i can manage a subset of users in Office 365. We have 20.000 Mailboxes in Office 365 and i need to only manage 600 from the UK.
Basically i need to run something like Set-Mailbox -CalendarRepairDisabled $true but not for all mailboxes.
I have tried to see if i can use something like -filter '(company -eq "COMPANY")' but that did not work. Then i thought of running through members in a group and do it that way but i was unable to do:
Get-ADGroupMember -identity "GROUP" | set-mailbox -CalendarRepairDisabled $true.
We are in a hybrid setup with OnPrem Exchange 2010 servers.
Thx in advance.
If only i had a cool signature!! ;)