jlspencer
asked on
Renaming computers in domain
I would like to use the below "single Line" command in a script to rename 100+ computers
but I would want it in a script so I would receive prompts for PASSWORD, OLD COMPUTER NAME and NEW COMPUTER NAME I would also like to populate the AD/Computer table/Description as well. If the last one is not possible not a huge problem.
netdom renamecomputer Computername /newname:new_computername
/userd:domain\UserName /passwordd:password |* /usero:UserName
/passwordo:password |* /force /reboot:Time in seconds
but I would want it in a script so I would receive prompts for PASSWORD, OLD COMPUTER NAME and NEW COMPUTER NAME I would also like to populate the AD/Computer table/Description as well. If the last one is not possible not a huge problem.
netdom renamecomputer Computername /newname:new_computername
/userd:domain\UserName /passwordd:password |* /usero:UserName
/passwordo:password |* /force /reboot:Time in seconds
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you in advance.