편집

다음을 통해 공유


Get-PmemPhysicalDevice

Gets the physical devices associated with persistent memory.

Syntax

Get-PmemPhysicalDevice []
Get-PmemPhysicalDevice
   [[-DeviceId] <String[]>]
   [<CommonParameters>]
Get-PmemPhysicalDevice
   [-LogicalDisk <PmemDisk>]
   [<CommonParameters>]
Get-PmemPhysicalDevice
   [-DiskNumber <UInt32>]
   [<CommonParameters>]
Get-PmemPhysicalDevice
   [-InputObject <CimInstance>]
   [<CommonParameters>]

Description

The Get-PmemPhysicalDevice cmdlet gets the physical devices associated with persistent memory.

Examples

Example 1: Get physical devices that have persistent memory

Get-PmemPhysicalDevice

DeviceId DeviceType           HealthStatus OperationalStatus PhysicalLocation FirmwareRevision Persistent memory size Volatile
                                                                                                                      memory size
-------- ----------           ------------ ----------------- ---------------- ---------------- ---------------------- --------------
1020     Intel INVDIMM device Healthy      {Ok}              CPU2_DIMM_C1     102005310        126 GB                 0 GB
1120     Intel INVDIMM device Healthy      {Ok}              CPU2_DIMM_F1     102005310        126 GB                 0 GB
120      Intel INVDIMM device Healthy      {Ok}              CPU1_DIMM_F1     102005310        126 GB                 0 GB
20       Intel INVDIMM device Healthy      {Ok}              CPU1_DIMM_C1     102005310        126 GB                 0 GB

This command gets all the physical devices with persistent memory.

Example 2: Get physical device for a persistent memory disk

(Get-PmemDisk)[0] | Get-PmemPhysicalDevice

DeviceId DeviceType           HealthStatus OperationalStatus PhysicalLocation FirmwareRevision Persistent memory size Volatile memory size
-------- ----------           ------------ ----------------- ---------------- ---------------- ---------------------- --------------------
20       Intel INVDIMM device Healthy      {Ok}              CPU1_DIMM_C1     102005310        126 GB                 0 GB
120      Intel INVDIMM device Healthy      {Ok}              CPU1_DIMM_F1     102005310        126 GB                 0 GB

This example uses the Get-PmemDisk cmdlet to get a persistent memory disk and gets the physical device for that disk.

Parameters

-DeviceId

Specifies the device ID of the physical device to get.

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

-DiskNumber

Specifies the disk number of persistent memory disk. The cmdlet gets the physical device for that disk.

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

-InputObject

Specifies the input object that is used in a pipeline command.

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

-LogicalDisk

Specifies a logical persistent memory disk. The cmdlet gets the physical device for that disk.

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

Inputs

Microsoft.Storage.PersistentMemory.Management.PmemDisk

CimInstance

Outputs

Microsoft.Storage.PersistentMemory.Management.PmemPhysicalDevice