I can get the size of a mailbox using
Get-MailboxStatistics. How do I find the difference between two mailbox sizes using Powershell?
(Get-MailboxStatistics FordPrefect).totalitemsize - (Get-MailboxStatistics ArthurDent).totalitemsize
which results in the error:
Method invocation failed because [System.ManagementAutomation.PSObject] doesn't contain method named 'op_Subtraction'
which is kinda correct as the
totalitemsize object does not have the subtraction method/member. How do I then proceed further with the operation?