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
Get-SCCPUType
[-VMMServer <ServerConnection>]
[-ID <Guid>]
[-OnBehalfOfUser <String>]
[-OnBehalfOfUserRole <UserRole>]
[<CommonParameters>]
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.
Examples
Example 1: Get all available processor types
PS C:\> Get-SCCPUType -VMMServer "VMMServer01.Contoso.com"
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.
Parameters
-ID
Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUser
Specifies a user name. This cmdlet operates on behalf of the user that this parameter specifies.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OnBehalfOfUserRole
Specifies a user role. To obtain a user role, use the Get-SCUserRole cmdlet. This cmdlet operates on behalf of the user role that this parameter specifies.
Type: | UserRole |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
Specifies a VMM server object.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
ProcessorType
This cmdlet returns a ProcessorType object.