< Back
Remove-GceSnapshot
Post
NAME Remove-GceSnapshot
SYNOPSIS
Deletes Google Compute Engine disk snapshots.
SYNTAX
Remove-GceSnapshot [-Object] <Snapshot> [<CommonParameters>]
Remove-GceSnapshot [-Project <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
Deletes Google Compute Engine disk snapshots.
PARAMETERS
-Object <Snapshot>
The object that describes the snapshot to delete.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Project <string>
The project that owns the snapshot to delete.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the snapshot to delete.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Google.Apis.Compute.v1.Data.Snapshot
The object that describes the snapshot to delete.
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\> Remove-GceSnapshot "my-snapshot"
Deletes the snapshot named "my-snapshot" in the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceSnapshot "my-snapshot" | Remove-GceSnapshot
Deletes the snapshot named "my-snapshot" in the default project.
RELATED LINKS
[Snapshot resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Deletes Google Compute Engine disk snapshots.
SYNTAX
Remove-GceSnapshot [-Object] <Snapshot> [<CommonParameters>]
Remove-GceSnapshot [-Project <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
Deletes Google Compute Engine disk snapshots.
PARAMETERS
-Object <Snapshot>
The object that describes the snapshot to delete.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Project <string>
The project that owns the snapshot to delete.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the snapshot to delete.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Google.Apis.Compute.v1.Data.Snapshot
The object that describes the snapshot to delete.
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\> Remove-GceSnapshot "my-snapshot"
Deletes the snapshot named "my-snapshot" in the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceSnapshot "my-snapshot" | Remove-GceSnapshot
Deletes the snapshot named "my-snapshot" in the default project.
RELATED LINKS
[Snapshot resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)