< Back
Get-GceSnapshot
Post
NAME Get-GceSnapshot
SYNOPSIS
Gets information about a Google Compute Engine disk snapshots.
SYNTAX
Get-GceSnapshot [-Project <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
Gets information about a Google Compute Engine disk snapshots.
PARAMETERS
-Project <string>
The project that owns the snapshot. Defaults to the gcloud config project.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the snapshot to get.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
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
System.String
The name of the snapshot to get.
OUTPUTS
Google.Apis.Compute.v1.Data.Snapshot
---------- EXAMPLE 1 ----------
PS C:\\> Get-GceSnapshot
Lists all snapshot in the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceSnapshot "my-snapshot"
Gets the snapshot in the default project named "my-snapshot".
RELATED LINKS
[Snapshot resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Gets information about a Google Compute Engine disk snapshots.
SYNTAX
Get-GceSnapshot [-Project <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
Gets information about a Google Compute Engine disk snapshots.
PARAMETERS
-Project <string>
The project that owns the snapshot. Defaults to the gcloud config project.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the snapshot to get.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
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
System.String
The name of the snapshot to get.
OUTPUTS
Google.Apis.Compute.v1.Data.Snapshot
---------- EXAMPLE 1 ----------
PS C:\\> Get-GceSnapshot
Lists all snapshot in the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceSnapshot "my-snapshot"
Gets the snapshot in the default project named "my-snapshot".
RELATED LINKS
[Snapshot resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)