Get-mailboxstatistics default values

%3CLINGO-SUB%20id%3D%22lingo-sub-2211848%22%20slang%3D%22en-US%22%3EGet-mailboxstatistics%20default%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2211848%22%20slang%3D%22en-US%22%3E%3CP%3EAnyone%20wonder%20why%20the%20StorageLimitStatus%20property%20is%20blank%20when%20you%20run%20a%20Get-mailboxstatistics%20cmdlet%3F%26nbsp%3B%20According%20to%20this%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Ftroubleshoot%2Fadministration%2Fempty-storagelimitstatus-run-get-mailboxstatistics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Earticle%3C%2FA%3E%26nbsp%3Bit's%20blank%20be%20design.%26nbsp%3B%20OK%2C%20I%20get%20why%20it%20is%20left%20blank%2C%20but%20here's%20my%20issue%20with%20it%20-%20if%20it%20is%20intentionally%20left%20blank%2C%20why%20is%20it%20output%20as%20one%20of%20the%20default%20values%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20majority%20of%20the%20time%20I%20run%20the%20get-mailboxfolderstatistics%20cmdlet%20is%20to%20check%20the%20mailbox%20size.%26nbsp%3B%20This%20piece%20of%20information%20is%20far%20and%20away%20more%20helpful%20the%20the%20total%20item%20count%20or%20the%20blank%20StorageLimitStatus%20fields.%26nbsp%3B%20Yes%2C%20I%20know%20I%20can%20pipe%20to%20a%20select%20statement%20to%20retrieve%20the%20totalitemsize%20value%2C%20but%20that's%20a%20log%20of%20extra%20(and%20in%20my%20opinion%20unnecessary)%20typing.%26nbsp%3B%20To%20the%20Microsoft%20PowerShell%20architects%2C%20if%20you%20can't%20give%20us%20a%20method%20to%20alter%20which%20attribute%20values%20are%20returned%20by%20default%2C%20can%20you%20at%20least%20modify%20the%20get-mailboxstatistics%20cmdlet%20to%20return%20useful%20information%20by%20default%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2211848%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Anyone wonder why the StorageLimitStatus property is blank when you run a Get-mailboxstatistics cmdlet?  According to this article it's blank by design.  OK, I get why it is left blank, but here's my issue with it - if it is intentionally left blank, why is it output as one of the default values?

 

The majority of the time I run the get-mailboxfolderstatistics cmdlet is to check the mailbox size.  This piece of information is far and away more helpful the the total item count or the blank StorageLimitStatus fields.  Yes, I know I can pipe to a select statement to retrieve the totalitemsize value, but that's a lot of extra (and in my opinion unnecessary) typing.  To the Microsoft PowerShell architects, if you can't give us a method to alter which attribute values are returned by default, can you at least modify the get-mailboxstatistics cmdlet to return useful information by default?

0 Replies