Edit

Share via


Get-PmemUnusedRegion

Gets unused regions in persistent memory.

Syntax

Default (Default)

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.

Parameter properties

Type:

UInt32[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Object