編輯

共用方式為


Get-VMHostNumaNode

Gets the NUMA topology of a virtual machine host.

Syntax

Get-VMHostNumaNode
   [[-ComputerName] <String[]>]
   [[-Credential] <PSCredential[]>]
   [-Id <Int32>]
   [<CommonParameters>]
Get-VMHostNumaNode
   [-CimSession] <CimSession[]>
   [-Id <Int32>]
   [<CommonParameters>]

Description

The Get-VMHostNumaNode cmdlet gets the NUMA topology of a Hyper-V host, returning a VMHostNumaNode object for each of the host's NUMA nodes.

Examples

Example 1

PS C:\> Get-VMHostNumaNode

Gets the NUMA topology of the local Hyper-V host.

Parameters

-CimSession

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[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ComputerName

Specifies one or more Hyper-V hosts that run this cmdlet. NetBIOS names, IP addresses, and fully qualified domain names are allowable. The default is the local computer. Use localhost or a dot (.) to specify the local computer explicitly.

Type:String[]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies one or more user accounts that have permission to perform this action. The default is the current user.

Type:PSCredential[]
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

Identifies a NUMA node for which a VMHostNumaNode is to be retrieved.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.HyperV.PowerShell.VMHostNumaNode