< Back
Get-GceMachineType
Post
NAME Get-GceMachineType
SYNOPSIS
Get Google Compute Engine machine types.
SYNTAX
Get-GceMachineType [-Project <string>] -Zone <string> [<CommonParameters>]
Get-GceMachineType [-Project <string>] [-Zone <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
Gets all machine types of a project, or all machine types of a project in a zone, or a single machine type of a
project in a zone with a name.
PARAMETERS
-Project <string>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Zone <string>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
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
OUTPUTS
Google.Apis.Compute.v1.Data.MachineType
---------- EXAMPLE 1 ----------
PS C:\\> Get-GceMachineType
Lists all machine types for the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceMachineType -Zone "us-central1-a"
Lists all machine types in zone us-central1-a for the default project.
---------- EXAMPLE 3 ----------
PS C:\\> Get-GceMachineType "f1-micro"
Gets the machine type named f1-micro in the default project and zone.
RELATED LINKS
[Machine Type resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Get Google Compute Engine machine types.
SYNTAX
Get-GceMachineType [-Project <string>] -Zone <string> [<CommonParameters>]
Get-GceMachineType [-Project <string>] [-Zone <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
Gets all machine types of a project, or all machine types of a project in a zone, or a single machine type of a
project in a zone with a name.
PARAMETERS
-Project <string>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Zone <string>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
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
OUTPUTS
Google.Apis.Compute.v1.Data.MachineType
---------- EXAMPLE 1 ----------
PS C:\\> Get-GceMachineType
Lists all machine types for the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceMachineType -Zone "us-central1-a"
Lists all machine types in zone us-central1-a for the default project.
---------- EXAMPLE 3 ----------
PS C:\\> Get-GceMachineType "f1-micro"
Gets the machine type named f1-micro in the default project and zone.
RELATED LINKS
[Machine Type resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)