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

Resolve IPAddress of Windows 10 VM on SCVMM

$
0
0
          Currently we are using script to resolve IPAddress by powershell : 
 
                   $VM = Get-SCVirtualMachine -Name "VMname"
                   $ValuesMap = @{}
                   $ValuesMap.Add("NetworkAddressIPv4", $null)
                   $map=Read-SCGuestInfo -VM $VM -KvpMap $ValuesMap

                   $map.KvpMap.NetworkAddressIPv4

         So this script is working fine till Windows 8.1 VM Machine and as we run on Windows 10 VM it throw the error as : "The following Msvm_KvpExchangeDataItem.Name keys are deprecated: NetworkAddressIPv4, NetworkAddressIPv6, RDPAddressIPv4

, and RDPAddressIPv6. Please configure guest IP addresses using Msvm_GuestNetworkAdapterConfiguration."

Please help me with this.


Mau


Viewing all articles
Browse latest Browse all 2770

Trending Articles



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