Remove the machine names from the DHCp server whose names i have in a txt file.

Hi,

Remove the machine names from the DHCp server whose names i have in a txt file.

When machines are removed permanently of moved to another are where there is a different DHCP server tp lease. Can i have a script to remove the machine names from the server immediately rather than waiting for the lease period time.

REgards'
Sharath
LVL 11
bsharathAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hugh FraserConsultantCommented:
A simpler way is to do an ipconfig /release on the client machines to release their lease before moving them. There's less chance of an error than trying to mess directly with the dhcp server, database.
0
bsharathAuthor Commented:
Thanks that would be fine for say 1 to 10 + machines here i want to do this for 100 + machines each time when they move from one location to another.
0
Hugh FraserConsultantCommented:
If the problem is exhausted resources in an dhcp zone, you could also look at shortening the lease lifetime. This addresses mobile devices and limited address space. I just assumed by the "permanent" part of your request that this was a one-time move.

What kind of DHCP server and what platform are you running on?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.