{x500:/o=First Organization/ou=Exchange Administrative Group *LOTS of infos here
*********************************************, smtp:My first real alias, smtp:my second real alias…}
[/pre]
I know there are at least two more aliases beginning with “smtp:” but they don’t appear here and i think its because of the length of the results
Also as a tip you should leave out the Format-Table -Wrap from your function, its better to do these things outside the function.
You might want to use the data in another way later on, and then you will be limited by having Format-Table in the function.