Reset Windows Guest OS IP from vCenter/vSphere/ESX 4.1 CLI or API

Posted on 2011-10-06
Last Modified: 2012-05-12
Is it possible to create a script that will change the IP address of a Windows server 2008 Guest VM in vCenter/vSphere/ESX 4.1 without loging in to the windows server VM itself?

If not, is it possible to pass a bat/vbs file to execute on the VM from vCenter/vSphere/ESX without loging in to the windows server VM itself?
Question by:Phase2
    1 Comment
    LVL 14

    Accepted Solution


    or make a batchfile to run on the guests as per:

    netsh int ip set address “Local Area Connection” static 192.168.x.X 192.168.x.X(gateway)

    and execute it using a gpo/scheduled task/whatever

    Featured Post

    Do email signature updates give you a headache?

    Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

    Join & Write a Comment

    VMware Update Manager(VUM) “error code: 15” during ESXi 6.0 Remediate update in VUM operation
    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now