Active Directory question
is there way or script through can find out name attribute phone number attribute.? enter name , can find details of user phone number,address details in active directory.
regards,
ravi
regards,
ravi
hi ravi,
a combination of dsquery , dsget should trick. find user having phone number "1234 5678" from users ou of contoso.com domain, run following command line:
dsquery user ou=users,dc=contoso,dc=com -name * | dsget user -display -tel | find "1234 5678"
regards,
salvador manaois iii
mcitp | enterprise & server administrator
mcse mcsa mcts(x5) ciwa c|eh
my blog: bytes , badz
my shots: view my photostream
a combination of dsquery , dsget should trick. find user having phone number "1234 5678" from users ou of contoso.com domain, run following command line:
dsquery user ou=users,dc=contoso,dc=com -name * | dsget user -display -tel | find "1234 5678"
regards,
salvador manaois iii
mcitp | enterprise & server administrator
mcse mcsa mcts(x5) ciwa c|eh
my blog: bytes , badz
my shots: view my photostream
Windows Server > Directory Services
Comments
Post a Comment