header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Parsing mail-contact -alias
Last Post 13 Aug 2008 02:00 PM by n1ckml007. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
n1ckml007User is Offline
New Member
New Member
Posts:15

--
13 Aug 2008 01:38 PM  

Good Morning,

 

I'm creating some mail-contacts in Exchange 2007, the default -alias is being driven from -name property which I have formatted as:

 

lastname, firstname

 

Powershell / Exchange 2007 auto-creates the alias as:

 

Lastname?Firstname

 

How do I change the parsing of the mail-contact -alias to:

 

FirstnameLastname

 

Thanks,

-N1ck

n1ckml007User is Offline
New Member
New Member
Posts:15

--
13 Aug 2008 02:00 PM  
Good Morning,

I just ended up changing my SQL query:

RTRIM(first_name)+ + RTRIM(last_name) AS 'Alias'

so the data.table gets built with an Alias property.

But how would I make the Alias format be

'FirstnameLastname' instead of:

'FIRSTNAMELASTNAME' ?

thanks,

N1ck
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer