PowerCLI: Change Virtual Machines Guest OS Names

From VI-Toolkit
Jump to: navigation, search

PowerCLI: Change Virtual Machines Guest OS Names

author: Rawlinson

Description

The script displayed here queries the VM name at the host level and will use that to set the name of the operating system within the guest OS. The example code here is used for windows guests.

Usage

Save as a script and run it.

Location

http://www.punchingclouds.com/2013/06/06/powercli-change-virtual-machines-guest-os-names/