Rename Multiple Computers
A Custom Script to rename multiple computers using a hash table and rebooting after imaging.
PowerShell Script
$namelist= ConvertFrom-StringData -StringData $args[0]
if ($namelist.ContainsKey($env:computername)) {
Rename-Computer -NewName $namelist[$env:computername] -Force -Restart
}Custom Script Settings
Optional Changes to Make to the PowerShell Script
How to Create a Custom Script to Rename Multiple Computers



Last updated