Partager via


Get-SCCPUType

Get-SCCPUType

Gets CPU object types for use in virtual machines, or for use in templates or hardware profiles used to create virtual machines.

Syntax

Parameter Set: FromGuid
Get-SCCPUType [-ID <Guid> ] [-OnBehalfOfUser <System.String> ] [-OnBehalfOfUserRole <Microsoft.SystemCenter.VirtualMachineManager.UserRole> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed Description

The Get-SCCPUType cmdlet gets types of CPU objects that are available for use in virtual machines, or for use in templates or hardware profiles used to create virtual machines, in a Virtual Machine Manager (VMM) environment. The type of CPU is one of the factors that the VMM placement process uses to determine which hosts among all available hosts are suitable for a specific virtual machine.

Parameters

-ID<Guid>

Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-OnBehalfOfUser<System.String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-OnBehalfOfUserRole<Microsoft.SystemCenter.VirtualMachineManager.UserRole>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ProcessorType

Examples

Example 1: Get all available processor types

This command gets all available CPU object types on VMMServer01, formats the information about each CPU type in a list, and then displays this information.

PS C:\> Get-SCCPUType -VMMServer "VMMServer01.Contoso.com"

New-SCHardwareProfile

New-SCVirtualMachine

New-SCVMTemplate