How to change IP Adress of virtual machine from Hyper -v using powershel script
-
Tuesday, January 22, 2013 11:39 AM
Hi,
First of all i need it had and tired of finding solution but failed.
My scenario is:
I have core Hyper-V server installed on 7 machines
Hyper-V manager is installed on one machine.
I wrote a script to start stop Virtual Machines on different hosts. I am running that script from that machine with hyper-v manager. Success up to this
But i have another task of changing IP address of virtual machine within the same script. This is what i can not figure out how to do????
Initially Virtual machine is picking IP using DHCP.
I start a virtual machine on one host from Hyper-v Manager machine using powershell, now I want to change the IP of that virtual machine in the script.
How it can be achieved???
Waiting for your kind response
All Replies
-
Tuesday, January 22, 2013 1:15 PM
There are script to do this in the repository.¯\_(ツ)_/¯
- Marked As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Thursday, January 31, 2013 4:20 PM
-
Tuesday, January 22, 2013 1:21 PM
Thanx for reply.
Where i can look for repositry the repositry???
will you please share a link or paste the script that can work for me???
-
Tuesday, January 22, 2013 3:29 PMModerator

