Maintain control of your Microsoft 365 data
Post Reply
Johnnyc23
Novice
Posts: 3
Liked: never
Joined: Apr 18, 2019 7:29 pm
Full Name: John R. Chambers
Contact:

Identifing users

Post by Johnnyc23 »

I am looking to run a powershell script using a cv file. Does anyone know how to match users by email address instead of the Display name? We have many identical display names, the users have different email addresses.
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Identifing users

Post by Mike Resseler »

Hi Johnnyc23,

First: Welcome to the forums!
Second: If I understand it correctly, you want to use a CSV file, run a powershell script and add those users in a job or something like that? The good news is that our version 3 has been enhanced for that specific reason. So you can now add users based on certain criteria, and email address is one of them
Johnnyc23
Novice
Posts: 3
Liked: never
Joined: Apr 18, 2019 7:29 pm
Full Name: John R. Chambers
Contact:

Re: Identifing users

Post by Johnnyc23 »

yes looking to add the users to a job. from the documentation for the back the command is Get-VBOOrganizationUser and Get-VEXmailbox which seems to only work with a display name. Am I missing something?
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Identifing users

Post by nielsengelen »

Is your goal to get the data out of the backup or are you talking about the creation of the job?

When you run Get-VBOOrganizationUser there are 2 options:
DisplayName
UserName (which is the e-mail address)
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests