Hello!
I am trying to create a where-object on the prohibitsendquota within o365. New accounts that have been created dont get a quota so i am trying to find all the mailboxes that dont equal the default mailbox size of 49.5 GB. Here is what I have but it returns no results
get-mailbox -resultsize unlimited | where-object {$_.prohibitsendquota -contains “49.5”} | selecect displayname,prohibitsendquota
The default result if i just get-mailbox for a user is ProhibitSendQuota: 49.5 GB (53,150,220,288 bytes)
Any help would be appreciated!