Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Updat the "pager" attribut in AD from text file

$
0
0

Hi all,

I'm new in this forum.

I want to update the "pager" Active Directory attribut for some users that exist in text file.

My text file is structured like this :

FIRSTNAME                      LASTNAME                     EMPLOYER                        SERIAL NUMBER                 
-------------------------------------------------------------------------------------------------------------------                                                                                            
PATRICK                         HANKS                           ENTREPRISE1                     3255872476                   
TEDDY                            PIKKY                            ENTREPRISE2                      3585872487
DADY                             MARTIN                          ENTREPRISE3                      3365872457

I received everyday this text file and i want to execute a powershell script that update the serial number ( pager attribut ) of each user in this file
                      
NB : the pager attribut exit in the Telephones properties for each user in AD

Thank you so much and have a nice day.

Rafter                      


Viewing all articles
Browse latest Browse all 8583

Trending Articles