Bearbeiten

Freigeben über


New-PmemDedicatedMemory

Creates dedicated persistent memory in the specified region.

Syntax

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.

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

-RegionId

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

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

-SizeInBytes

Specifies the size of the dedicated persistent memory.

Type:UInt64[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

UInt32[]

Outputs

Object