When I run Get-MailboxStatistics <mailbox> | FL TotalDeletedItemSize , I get something like this:
TotalDeletedItemSize : 1.835 GB (1,970,288,464 bytes)
How do I convert this to a number? for example: 1.835
I've tried things like this: (Get-MailboxStatistics <mailbox>).TotalItemSize.value.tomb()
But apparently this is not available in Exchange Online.
I am trying to right a script that will output the name of mailboxes with a dumpster size greater than 25 GB