get-mailbox commande with details in a CSV file with all colomns
Hi,
I'm searching for a way to display all the details that powershell generat in a CSV file in colomns and not in lines, cause I need to do a get-mailbox with all attributes to a CSV file, and if I only pull it without that format it will be really hard to filter
or remove some attributes etc..
the commande that I'm using is:
get-mailbox -identity "username" | select * | format-table
but it give me only 5 or 6 colomns without details
Any idea.
Many thanks
July 28th, 2010 7:30pm
get-mailbox -identity "username" | export-csv user.csv -notype[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2010 7:59pm