1 Reply Latest reply on Jan 12, 2018 2:18 PM by LucD

    How Do I Set the Guest OS Version for a VM?

    cbcampbell Novice

      How do I set a VM's Guest OS Fullname via powercli?  I'm able to create a windows vm, assign IP info, set CPU, RAM, Disk, etc.  But I cannot figure out how to assign it a correct Guest OS Version i.e. "Microsoft Windows Server 2016 (64 bit)".  Any help is greatly appreciated.

        • 1. Re: How Do I Set the Guest OS Version for a VM?
          LucD Guru
          Community WarriorsvExpertUser Moderators

          There are two different indications of the guest OS.


          One you can do when you create the VM with the New-VM cmdlet and the GuestId parameter.

          And you can change that setting with the Set-VM cmdlet, again with the GuestId parameter.

          The values you can specify are defined in the VirtualMachineGuestOsIdentifier enumerator.


          But this setting is not binding, in fact you could pass the value windows9Guest, which would mean Windows 10, but you could still install for example a Linux OS on that VM.


          The second one is the name of the guest OS, as determined by the VMware Tools (so you need to have VMware Tools installed to have this working).

          This one you can not change.