Display forwardingaddress as an email address not alias.


hi, have configured user john doe (jdoe)'s email forwarded smith's mailbox. 

i running ps query: 

get-mailbox jdoe| ft forwardingaddress

result:            domain.local/microsoft exchange system objects/will smith

how can have result list smith's email address oppose full name.

thanks.

right, because of 'get-mailbox'.  command 'get-distributionlist'....  here command corrected since didnt take dls consideration.

$(get-mailbox jdoe).forwardingaddress | get-recipient | ft primarysmtpaddress



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2