我的 azure VM 中有 4 个额外的 IP。我需要使用 powerShell 命令列出所有这些 IP。什么是可能的出路?
提前致谢。
我的 azure VM 中有 4 个额外的 IP。我需要使用 powerShell 命令列出所有这些 IP。什么是可能的出路?
提前致谢。
After several days I came to know addition IP's are listed in vmconfig-file. I was able to create and save vmconfig file using this-
$vmName= "xyz"
$srcServiceName = "lmno"
$sourceVm = Get-AzureVM –ServiceName $srcServiceName –Name $vmName
$vmConfigurationPath = "C:\MyFolder" + '\' + $vmName +".xml"
$sourceVm | Export-AzureVM -Path $vmConfigurationPath
I was able to see additional IP's
This served my purpose. Thanks.