I need to change a regisrty setting in 100 servers and the setting is
different for each servers.
I have an excel file that has the info and I need to have a script to
connect to 100 servers and read the excel sheet with the registry info and
update each servers registry based on that excel sheet.

Can anybody send me a sample script.

If not the whole script just the part to connect to all these 100 servers
listed in this excel sheet.

Thanks

Re: Script to change registry setting in 100 servers by Jeremy

Jeremy
Wed May 16 05:15:26 CDT 2007

you'd be better off saving the spreadsheet as a tab delimeted or comma
delimeted text file. This way you can simply read the file in line by line
and split the data into an array with the split command.

Reading a text file is pretty easy and you'll find plenty of example on the
technet script center

"Novice exchange admin" <Noviceexchangeadmin@discussions.microsoft.com>
wrote in message news:186F04E8-975E-4BC4-B3C0-5AA0A64D8931@microsoft.com...
>I need to change a regisrty setting in 100 servers and the setting is
> different for each servers.
> I have an excel file that has the info and I need to have a script to
> connect to 100 servers and read the excel sheet with the registry info and
> update each servers registry based on that excel sheet.
>
> Can anybody send me a sample script.
>
> If not the whole script just the part to connect to all these 100 servers
> listed in this excel sheet.
>
> Thanks
>
>