Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 728

Connecting to a newly created VM

$
0
0

Hi,

I am creating a VM through my python code with the cmdlet : New-SCVirtualMachine

I need to connect to the VM once it is up and running and find out its IP (since it gets it through DHCP). Is it possible to do it with the System Centre 2012 R2 cmdlets? Or is there some other way?

I know :

  • name of the VM
  • access credentials (username/password)
  • the hyper-v node of the VM

Is it possible to log-in to the VM through some cmdlet or REST call and then execute an ifconfig/ipconfig to get the IP? From what I've seen there doesnt seem to be any cmdlet that gets me the IP directly.

Will greatly appreciate any guidance in this regard. Thanks much!


Viewing all articles
Browse latest Browse all 728

Trending Articles



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