I just had to throw this in:

 

http://theessentialexchange.com/blogs/michael/archive/2008/02/04/Rename-Rebo
ot-with-Powershell.aspx

 

I needed to do this to a bunch of computers recently:

 

Get-Content Filename.csv |% { $ary = $_.Split(","); renameAndReboot $ary[0]
$ary[1]; }

 

Regards,

 

Michael B. Smith

MCSE/Exchange MVP

http://TheEssentialExchange.com

 

From: Malcolm Reitz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 20, 2008 10:02 PM
To: NT System Admin Issues
Subject: RE: Mass Computer Rename

 

If you have your workstations listed in a text file, then you just need a
simple "for /f" command using NETDOM with the "renamecomputer" operator. The
workstations have to be powered up and on the network first, and they will
have to be rebooted after the change.

 

Malcolm 

From: Chris Blair [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 20 February, 2008 13:01
To: NT System Admin Issues
Subject: Mass Computer Rename

 

I need to rename all of our workstations to adhere to a new naming standard.
These machines, for now, will remain in the same domain. I have found
various scripts on Google, but I would like to hear from someone that has
done this. Any pitfalls?

 

Thanks

 

 
 
 
 This e-mail is confidential and may be privileged and/or proprietary. If
you 
are not the intended recipient, any review, disclosure, copying, or use of 
this e-mail is prohibited.
  _____  


This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient.  Any
review, use, distribution, or disclosure by others is strictly prohibited.
If you are not the intended recipient (or authorized to receive information
for the intended recipient), please contact the sender by reply e-mail and
delete all copies of this message. 

 

 

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to