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

Re: get guest IP from host (bridged)

$
0
0

Great! That does the trick:

 

 

vmrun -T ws -gu %username% -gp %password% runProgramInGuest /path-to-my-vm.vmx "c:\ipconfig.bat"

 

does the job, where ipconfig.bat is a script on the guest, which dumps the output of ipconfig into a shared folder file on the host:

 

 

ipconfig > "\\vmware-host\Shared Folders\home\%username%\tmp\IP_VM.txt"

 

where %username% and %password% corresponds to your username and password.

 

Thanks and cheers, Riko


Viewing all articles
Browse latest Browse all 249166

Trending Articles



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