dekhan
asked on
For each users in list - 'using last name and first name' get login name in Active Directory
I am trying to do the following...I have a list of users with last name, first name. I would like like to query AD and get their logon name. THANKS!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi sorry I forgot to mentioned that client is running AD 2003
does not make a difference. You can run PS Get-ADUser against AD 2003
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi guys thanks for for the suggestions...however i am receiving the following error message from where ever i run the commands from:
WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services
running.'.
WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services
running.'.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Get-ADUser -filter * -Properties Name | ft UserPrincipalName