azure-powershell
azure-powershell copied to clipboard
[Az.ConnectedMachine] Get-AzConnectedMachineExtension should return the MachineName property
Description of the new feature
An object returned by the Get-AzConnectedMachineExtension cmdlet doesn't have the MachineName property, so it's not easy to tell what machine has been queried when you had executed the command against a number of connected machines.
@alexandair Apologies for the late reply. Please refer this article. This issue is open for quite sometime. Could you please let us know if you need any further assistance on this ? Awaiting your reply.
@navba-MSFT I don't understand what is expected from me. The current version of this cmdlet still doesn't output the MachineName property. That property should be part of the default output, so that a user can see the name of the machine where the extensions are installed on.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rpsqrd, @edyoung.
@alexandair The Id field contains the machine name, resource group and subscription id. Please use those as you can have multiple machines with the same name across different resource groups.
Instead of asking a user to parse the ID property, you should output the machine name and resource group and enable the user to EASILY identify the machine.
That's a very common practice. Just look at the VM-related cmdlets, for example.
this will be fixed in #24064