description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Gets the host machine’s partitionable GPU. |
Microsoft.HyperV.PowerShell.Cmdlets.dll-Help.xml |
Hyper-V |
06/12/2024 |
2.0.0 |
Get-VMHostPartitionableGpu |
Gets the host machine’s partitionable GPU.
Get-VMHostPartitionableGpu [[-ComputerName] <String[]>] [[-Credential] <PSCredential[]>]
[-Name <String>] [<CommonParameters>]
Get-VMHostPartitionableGpu [-CimSession] <CimSession[]> [-Name <String>] [<CommonParameters>]
The Get-VMHostPartitionableGpu
cmdlet gets the host machine’s partitionable graphic processing
unit. This displays the information of the GPU as provided by the manufacturer's driver.
Get-VMHostPartitionableGpu
This example gets the details of the local partitionable graphic processing unit on the host.
Get-VMHostPartitionableGpu -ComputerName "MyHost"
This example gets a partitionable GPU by using the host name. This command will display all the GPU devices available for partitioning in the host.
Get-VMHostPartitionableGpu -Name "GPUDeviceIDName"
Get-VMHostPartitionableGpu | FL Name, ValidPartitionCounts
This example retrieves information about the partitionable GPUs available on a virtual machine host and formats the output as a list, displaying the name of each GPU and the number of valid partitions that can be created on each GPU.
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.
Type: CimSession[]
Parameter Sets: CimSession
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies one or more Hyper-V hosts that run this cmdlet. NetBIOS names, IP addresses, and fully
qualified domain names are allowed. The default is the local computer. Use localhost or a dot (.
)
to specify the local computer explicitly.
Type: String[]
Parameter Sets: ComputerName
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies one or more user accounts that have permission to perform this action. The default is the current user.
Type: PSCredential[]
Parameter Sets: ComputerName
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the graphic processing unit to be retrieved.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.