Hi,
I want to be able to change PowerCLI guest operating system setting for a VM.
I'm sure there is a way to do it, but I did not find it easily in the API.
Thanks,
Ionut
You should be able to do that with the Set-VM cmdlet and the GuestId parameter.
Something like this
Get-VM MyVM | Set-VM -GuestId "windows7_64Guest"
You can find the valid values in the VirtualMachineGuestOsIdentifier enumeration.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You should be able to do that with the Set-VM cmdlet and the GuestId parameter.
Something like this
Get-VM MyVM | Set-VM -GuestId "windows7_64Guest"
You can find the valid values in the VirtualMachineGuestOsIdentifier enumeration.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Oh boy, was that easy? must have been really tired.
Thanks LucD