Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

Remove-GceDisk - regional disks are not supported #662

Description

@abullo-clgx

Hello there,

I'm trying to remove regional disk, but I'm not able to to so.
When I execute Remove-GceDisk diskname it says that "Parameter Zone was not set and does not have a default value."
When I set the zone, it says "Google.Apis.Requests.RequestError The resource ... was not found"
At same time I'm not able to set the Region for that request.
As workaround, instead of Remove-GceDisk I use gcloud compute disks delete $disk --region=$region --quiet
My expectation that Remove-GceDisk in addition to -Zone should have -Region parameter so it could be used for regional disks removal as well.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions