Erwin Pombett
asked on
with powershell i'm try to recover the msExchShadowProxyAddresses but how to recover all infomrations ?
Hello,
i'm trying to recover all the msExchShadowProxyAddresses but if i pass the following command :
i always receive infos that have something like "... }" at the end and that make me think that there is still infos that i can not read.
my questions :
how can i recover all the information that stands inmsExchShadowProxyAddress es attribute ?
thanks
toshi
i'm trying to recover all the msExchShadowProxyAddresses
Get-ADUser -identity someone -Properties msExchShadowProxyAddresses -server thed.oma.in
: i always receive infos that have something like "... }" at the end and that make me think that there is still infos that i can not read.
my questions :
how can i recover all the information that stands inmsExchShadowProxyAddress
thanks
toshi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sometimes truncation is done by PowerShell to try to fit everything in your console. In those circumstances 2 and 3 could help.
Regarding the last method, as I mentioned that is using what is known as a calculated property.
Regarding the last method, as I mentioned that is using what is known as a calculated property.
@{n="msExchShadowProxyAddresses";e={$_.msExchShadowProxyAddresses -join "`n"}}
Another way to write it.@{Name="msExchShadowProxyAddresses";Expression={$_.msExchShadowProxyAddresses -join "`n"}}
You can also use "Label" or "L" instead of "Name" or "n". Name is the name of the property you want to create/calculate. Expression is a scriptblock which executes to get the property value. Joining by a newline character (`n) was just a choice, you could try others that might work for you.
ASKER
thank you so much for your answer and explanations.
just a question on your answers
1. ok, i can see the full list
2. ko , i still see the "...}" on that attribut.
3. ko, like for 2.
4. wow ! what are you doing in that one ? i can recover data when keep answer in object then query the propriety object.
this 4th is interesting for me. can you explain me a bit more how you did it ?
thank you in advance.
toshi
toshi