Edit

Share via


New-PmemDedicatedMemory

Creates dedicated persistent memory in the specified region.

Syntax

Default (Default)

New-PmemDedicatedMemory
    -RegionId <UInt32[]>
    [-FriendlyName <String[]>]
    [-SizeInBytes <UInt64[]>]
    [<CommonParameters>]

Description

The New-PmemDedicatedMemory cmdlet creates dedicated persistent memory in the specified region. You can see unused regions by using the Get-PmemUnusedRegion cmdlet.

Small amounts of dedicated storage can be used for memory-mapping data.

Examples

Example 1: Create dedicated persistent memory

New-PmemDedicatedMemory -RegionId 1 -SizeInBytes 270582939648

This command creates dedicated persistent memory from the region with the ID 1.

Parameters

-FriendlyName

Specifies a friendly name for the dedicated persistent memory.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-RegionId

Specifies the ID of the region for the dedicated persistent memory.

Parameter properties

Type:

UInt32[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-SizeInBytes

Specifies the size of the dedicated persistent memory.

Parameter properties

Type:

UInt64[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
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

UInt32

Outputs

Object