Hey All,
I need help if anyone knows the script/command to show all network and subnet status and change every VM to correct subnet if possible
I been looking around but cant findd the answer
Thanks
Hi,
What operating system are the VMs running?
The Get-VMGuestNetworkInterface (http://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Get-VMGuestNetworkInterface.html) and the related Set-VMGuestInterface cmdlets would work if you are using compatible OS.
Something like
get-vm | % { set-vmguestnetworkinterface -hostuser $hostuser -hostpassword $hostpassword `
-guestuser $guestuser -guestpassword $guestpassword -Netmask $Netmask}
Grant