default output for ps command

when I run this ps
Get-Mailbox -resultsize unlimited | Where { $_.Exchangeversion -like "*0.20*" }

the default headers are:

Name                      Alias                ServerName       ProhibitSendQuota

why?

I thought I would need to add

Get-Mailbox -resultsize unlimited | Where { $_.Exchangeversion -like "*0.20*" } | displayname, servername

thanks


  • Edited by totalnet32 Wednesday, August 26, 2015 1:27 PM
August 26th, 2015 1:26pm

Seems that that just are the default output settings for Get-Mailbox

you can see all when you add "| fl" at the end and then choose for yourself which one you will need with "| select displayname, Exchangeversion, <propertyname you like to see>"


  • Marked as answer by totalnet32 Wednesday, August 26, 2015 1:50 PM
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 1:33pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics