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

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

$
0
0

Hello,

 

The operating system used is Windows.

 

How can I apply this script to my VM via PowerCLI?

How do I proceed to indicate the vm to MODIFY?

in the script, how can I indicate the name of the VM modify has ?

 

The script:

 


Function Rename-ComputerName ([string]$NewComputerName){ 
&NewComputerName= TOTO 
$ComputerInfo = Get-WmiObject -Class Win32_ComputerSystem 
$ComputerInfo.rename($NewComputerName) 
 
}

 

Thank you very much friends.


Viewing all articles
Browse latest Browse all 247646

Trending Articles



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