• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

How to change all computer names on our domain...

We are changing our computer naming convention and would like to automate this process. We have a mix of XP and WIn 7 computers. Netdom will work for some but not all. Would like one soluton for all OS. Would rather not walk down all these computers. ideas
1 Solution
If you can use Powershell, try this:
function renameAndReboot([string]$computer, [string]$newname)
        $comp = gwmi win32_computersystem  -computer $computer
        $os   = gwmi win32_operatingsystem -computer $computer


Import-Csv mylist.csv

foreach ($entry in $list)

Open in new window

Original post is here.
MikeIT ProfessionalCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now