google-cloud-powershell
google-cloud-powershell copied to clipboard
Set-GceManagedInstanceGroup "Resize" parameter set cannot receive input from pipeline
The following does not work as might be expected:
Get-GceManagedInstanceGroup -Name "MyInstanceGroup" | Set-GceManagedInstanceGroup -Size 6
This results in PowerShell prompting for the mandatory "Name" parameter.
As a possible solution: I think there would need to be an additional parameter set created, "ResizeUri" which could take the SelfLink parameter from the InstanceGroupManager class from the pipeline.