OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

[Script of Dec 17th] How to batch rename virtual machines in Windows Server 2012 (PowerShell)

[Script of Dec 17th] How to batch rename virtual machines in Windows Server 2012 (PowerShell)

  • Comments 1
  • Likes

Script Download: BatchRenameVirtualMachines.zip
http://gallery.technet.microsoft.com/scriptcenter/How-to-batch-rename-f3980e1d

This PowerShell script illustrates how to batch rename multiple virtual machines by using PowerShell 3.0 in Windows Server 2012.

 

Batch rename virtual machines is a frequently asked question in many public forums. IT Admin wants to batch rename virtual machines like add prefix name or postfix name or replace specific string with multiple virtual machines name. Normally, we need to change the name one by one, it is really time-consuming.

 

image image
image image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment