Hi,
Probably not so hard, but I can't find it..
When I run this command in a script:
-----------
$usr.MBSize = Get-MailboxStatistics -id $usr.SamAccountName -ErrorVariable Err -ErrorAction SilentlyContinue | Select-Object @{n="TotalItemSize(MB)";e={$_.totalitemsize.Value.ToMB()}}
$usr | export-csv expfile.csv
------------
If I open my expfile.csv than I see following output: "Name","SamAccountName","mail","Company","lastlogon","mbSize" "bla bla","blabla01","blab@blab.com","company","10/08/2010 19:28:20","@{TotalItemSize(MB)=150}"
How can I get rid of "TotalItemSize(MB)" in my csv ?
|