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

Posted on 2011-10-06
Medium Priority
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

setasoujiro earned 2000 total points
ID: 36923142

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This article will explain How to fix Broken backup chain in Veeam Backup & Replication.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Suggested Courses

850 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