Generate Alias Name from List of Email ID

Hi,

Need a Powershell Command to list Alias name of  Users from a list of 3000 Email IDs.

Regards,

Pradeep


July 21st, 2015 2:37am

Might help if you give an example of the format you are planning to use. Assuming you have a CSV file with an "ID" field, you can try something like this:

$list = Import-Csv .\test.csv
$list | % { Get-Recipient -Identity $_.ID | select Alias,PrimarySmtpAddress }

Free Windows Admin Tool Kit Click here and download it now
July 21st, 2015 3:40am

You can use a simply way to export all users by any view you need, first from Actions Pane choose View to customize the results as you need, Then choose Add/Remove columns to add or remove the columns as you want, At the end from the action pane choose export and make the file type CSV.

Steps demonstrated by screens in my blog 

July 21st, 2015 4:49am

Hi,

We  have  10000 mailbox users in our Domain. I have to get Aliases name of 1500 Users in the list.

regards,

Pradeep

Free Windows Admin Tool Kit Click here and download it now
July 21st, 2015 8:01am

You can modify the maximum number from left pane -- Recipients Configuration -- Mailbox --then -- from the Action pane --under  Mailbox -- Modify the Maximum Number of Recipients to Display.

Below screen demonstrate in steps. 

July 21st, 2015 10:37am

Get-Mailbox -ResultSize Unlimited | Select Name, Displayname, Alias, PrimarySMTPAddress

If you know any way to filter the 1500 users out of 10000 like by selecting OU or by any specific AD attribute then let us know...

Free Windows Admin Tool Kit Click here and download it now
July 21st, 2015 11:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics