Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228631

Re: I Need help, How to configure IP addresses of VMs with PowerCLI

$
0
0

In PowerShell you can use the 0..2 to get all the numbers 0, 1 and 2. Using this you can do:

 

$Name="Machine"0..2 |ForEach-ObjectNew-vm-vmhostserver1.paris.rio-Name"$Name$_"-TemplateTemplate1-DatastoreVMFS_LOCAL_server1
}

Viewing all articles
Browse latest Browse all 228631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>