Hear ya Bill. But I'm only returning a single PSObject (Microsoft.Exchange.Data.Directory.Management.MailEnabledOrgPerson), and I'm attempting to sort the properties on the single object. Sorry I'm not explaining this well.
Example Output from: get-mailbox
Name Alias ServerName
ProhibitSendQuota
---- ----- ----------
-----------------
kcarael kcarael svrwmail unlimited
cuqt3 cuqt3 svrwmail unlimited
lsren lsren exchange03 unlimited
roreerb roreerb exchange03 unlimited
pacffsdfs pacffsdfs exchange03
unlimited
beon beon exchange03 unlimited
Not a problem to sort: get-mailbox | sort alias
Output from: get-mailbox someuser
Name Alias ServerName
ProhibitSendQuota
---- ----- ----------
-----------------
someuser someuser mbxn04 12.6 GB (13,529,147,392 bytes)
Example Output from: get-mailbox someuser | fl * (or get-mailbox someuser | Select-Object *)
RoleAssignmentPolicy : Default Role Assignment Policy
SharingPolicy : Default Sharing Policy
RemoteAccountPolicy :
MailboxPlan :
ArchiveDatabase : EX-DAG01-DB08
ArchiveGuid : 587bdddd-f651-4e11-87d0-88ae31dc24db
ArchiveQuota : 50 GB (53,687,091,200 bytes)
ArchiveWarningQuota : 45 GB (48,318,382,080 bytes)
ArchiveDomain :
ArchiveStatus : None
RemoteRecipientType : None
DisabledArchiveDatabase :
DisabledArchiveGuid : 00000000-0000-0000-0000-000000000000
QueryBaseDNRestrictionEnabled : False
MailboxMoveTargetMDB :
MailboxMoveSourceMDB :
MailboxMoveFlags : None
MailboxMoveRemoteHostName :
MailboxMoveBatchName :
MailboxMoveStatus : None
IsPersonToPersonTextMessagingEnabled : False
IsMachineToPersonTextMessagingEnabled : True
UserSMimeCertificate : {}
I'm not sure what to sort on... I've tried just: get-mailbox someuser | Select-Object * | sort
The output looks the same as output from: get-aduser someuser
This doesn't work either: get-aduser someuser | sort -descending
Thank you, Joe