使用 power-shell 检索 azure Linux 机器的私有 IP

Retrieve private IP of azure Linux machine using power-shell

如何通过 power-shell 检索 Azure Linux VM 的私有 IP 地址?

如果你运行这个脚本

Get-AzureRmNetworkInterface -Name [Your Nic] -ResourceGroupName [Your RG]

您将获得所需的 IP 地址的所有信息。