google-cloud-powershell icon indicating copy to clipboard operation
google-cloud-powershell copied to clipboard

Set-GceManagedInstanceGroup "Resize" parameter set cannot receive input from pipeline

Open Cirzen opened this issue 6 years ago • 0 comments

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.

Cirzen avatar Nov 27 '18 11:11 Cirzen