Editar

Compartir a través de


Get-PmemUnusedRegion

Gets unused regions in persistent memory.

Syntax

Get-PmemUnusedRegion
   [[-RegionId] <UInt32[]>]
   [<CommonParameters>]

Description

The Get-PmemUnusedRegion cmdlet gets unused regions of persistent memory. Use this cmdlet with the New-PmemDisk cmdlet to create persistent memory disks.

Examples

Example 1: Get unused regions

Get-PmemUnusedRegion

RegionId TotalSizeInBytes DeviceId
-------- ---------------- --------
       1     270582939648 {20, 120}
       3     270582939648 {1020, 1120}

This example gets all the unused regions of persistent memory.

Example 1: Get a specific region

Get-PmemUnusedRegion -RegionId 3

RegionId TotalSizeInBytes DeviceId
-------- ---------------- --------
       3     270582939648 {1020, 1120}

This example gets all the unused regions of persistent memory.

Parameters

-RegionId

Specifies the ID of the region of the persistent memory disk to get.

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

Inputs

None

Outputs

Object