Get all mailboxes that have this domain in there primary email address

GET-MAILBOX * | where { $_.PrimarySMTPAddress.Domain -eq ‘kennethdalbjerg.dk’ }

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *