Tuesday #PowerShell #PowerTweet: How to rename a computer with PowerShell

I have been fiddling with a large number of virtual machines in the last week or so in an environment that does not have a full System Center deployment and where an automated build process is not currently in place resulting in new servers being presented in their OOBE state using (Windows) internally generated names.

Clearly I needed to rename the servers to align with the prescribed standard. Not to worry. Need to rename a bunch of computers quickly? PowerShell to the rescue!