get-mailbox output
Hi.
when calling the get-mailbox ps command, I need to return the DN of the mailbox database (CN=EAST,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=fim2010poc,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=fim2010poc,DC=local)
Anyone knows if this can be done?
Regards,
/Sren
May 2nd, 2012 4:07am
Hi Soren,
try this: Get-Mailbox -Identity mailboxname | ft name, distinguishedname
but this will give you only the mailbox DN.
For database use this: Get-Mailboxdatabase -Identity mailboxdatabasename | ft name, distinguishedname
Kottees : My Blog : Please mark it as an answer if it really helps you.
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 7:07am
Hi,
You can use
get-mailbox USERNAME | Select-Object -ExpandProperty database | fl name,DistinguishedNamehttp://tariqjaber.com/blog
May 2nd, 2012 7:15am
Hi Soren,
try this: Get-Mailbox -Identity mailboxname | ft name, distinguishedname
but this will give you only the mailbox DN.
For database use this: Get-Mailboxdatabase -Identity mailboxdatabasename | ft name, distinguishedname
Kottees : My Blog : Please mark it as an answer if it really helps you.
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 1:56pm
Hi,
You can use
get-mailbox USERNAME | Select-Object -ExpandProperty database | fl name,DistinguishedNamehttp://tariqjaber.com/blog
May 2nd, 2012 2:04pm