Hello:smileyhappy:,
Thank you very much for your help, happily that the VMWARE community is here:smileywink: !
In fact, when I run my script via the command prompt, I give in parameter a number has the last decimal of ip address . : Script.sp1 -Name Machine1 Template-type-Ip 24.
The incrementing will be based on this number for the other machines.
Thus, the first machine will created with the IP address: 10.170.229.24
For each machine created the last decimal should increment of 1.
Example:
Machine 2 -> 10.170.229.25
Machine 3 -> 10.170.229.26
Machine 4 -> 10.170.229.27
etc....
To accomplish this objective, it is mandatory that I go in once I enter a number as parameter.
in fact, my script works, but my script configures all machines with the same IP address. which causes Ip address conflict.
The problem with your script is that I can not give a number in parameter.
As you understand the problem?
Thank you very much.:smileyhappy: