Azure powershell command to get the port of a vm
-
26-06-2021 - |
Pergunta
I am trying to get the port of a vm in azure through powershell command. We are not able to get any command for that, so please suggest us any azure powershell commands for it.
Solução
You can use Get-AzureEndpoint for that:
Get-AzureVM -ServiceName "MyTestVM1" -Name "MyTestVM2" | Get-AzureEndpoint
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow