-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Compute - ExtensionsService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.customer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Description
Description of the new feature
Currently, Get-AzVM returns VM name with column name 'Name'.
But Get-AzVMExtension requires 'VMName' to specify VM name.
So, below cmdlet pipe is not working for now.
> get-azvm -name ephe01 -ResourceGroupName ephemeral-disks | Get-AzVMExtension
Get-AzVMExtension : The input object cannot be bound because it did not contain the information required to bind all mandatory parameters: VMName
At line:1 char:60
+ ... m -name ephe01 -ResourceGroupName ephemeral-disks | Get-AzVMExtension
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Azure...SVirtualMachine:PSObject) [Get-AzVMExtension], Param
eterBindingException
+ FullyQualifiedErrorId : InputObjectMissingMandatory,Microsoft.Azure.Commands.Compute.GetAzureVMExtensionCommand
Is it happy to enable this type of cmdlet chaining?
This kind of disconnection will be occur other VM extension cmdlets.
Proposed implementation details (optional)
Metadata
Metadata
Assignees
Labels
Compute - ExtensionsService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.customer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.