Hello Jsimpson,
All format-* cmdlets are designed to convert objects to text for console
display. Generally, don't use them in a middle of a pipline command.
Instead use select-object to include just the properties you want and pipe
them to export csv:
Get-mailbox | select-object Name, MaxSendSize, MaxReceiveSize | Export-Csv
-NoTypeInformation -Path c:\scripts\sendsize.csv
---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar:
http://tinyurl.com/PSToolbar
J> I am new to working with the exchange tools, do the export
J> differently?
J>
J> Get-mailbox | ft Name, MaxSendSize, MaxReceiveSize | Export-Csv -
J> NoTypeInformation -Path c:\scripts\sendsize.csv
J>
J> Gives me this:
J>
J> ClassId2e4f51ef21dd47e99d3c952918aff9cd pageHeaderEntry
J> pageFooterEntry autosizeInfo shapeInfo groupingEntry
J> 033ecb2bc07a4d43b5ef94ed5a35d280
J> Microsoft.PowerShell.Commands.Internal.Format.TableHeaderInfo
J> 9e210fe47d09416682b841769c78b8a3 27c87ef9bbda4f709f6b4002fa4af63c
J>
J> instead of what I see on the screen
J>
J> Name
J> MaxSendSize MaxReceiveSize
J> ----
J> ----------- --------------
J> Administrator
J> unlimited unlimited
J> User1
J> 10000KB 10000KB
J> User2
J> unlimited unlimited
J> What am I seeing?
J>