Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Power Shell:: Format-table does not display full???

Status
Not open for further replies.

oyazo

MIS
Apr 14, 2008
47
0
0
PT
Hello Friends,

I run Exchange 2007 for my exchange organization.

Each time I run:
Get-MailboxDatabase -Status | Format-Table Name, Server, *Backup* to get the database backup status

It only shows the three letters of the Name, Server

Assuming the name of the database is databasename, the format-table will display dat...

Assuming the name of the Server is corpsvrdat432, format-table will show cor...

I want the cmdlet "Get-MailboxDatabase -Status | Format-Table Name, Server, *Backup*" to show all the information in full.

Every contribution will be appreciated.

Thank you.
 
Code:
Get-MailboxDatabase -Status | FT Name, Server, *Backup* -auto

should work

Code:
Get-MailboxDatabase -Status | FT Name, Server, *Backup* -auto -wrap

should also work, but it sometimes mangles the far right column

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Oh Thank you very much Pat.

Please where can one get all this this Powershell command.

Thank you.

Oyazo.
 
Actually, if you do a Get-Help Format-List, the -auto and -wrap options don't appear there (at least not the last time I looked).

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top