Exchange User mailboxes whose TotalDeletedItemSize is greater than 10 GB

Hi,

I need to get all Exchange user mailboxes (cloud) whose TotalDeletedItemSize is greater than 10 GB.
So I am attempting to run the command on my own mailbox first before I run it on the whole collection
Get-Mailbox <alias> | Get-MailboxStatistics | Where { (($_.TotalDeletedItemSize -split “(”)[0]) -gt 2}

How can I get the command after the second pipe to run correctly?

Thanks

No worries. I figured it out.

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Where {(($_.TotalDeletedItemSize -split " ")[0]) -gt 10}