Remove-PmemDedicatedMemory
Gets dedicated persistent memory.
Syntax
Remove-PmemDedicatedMemory
-DeviceNumber <UInt32>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-PmemDedicatedMemory cmdlet gets dedicated persistent memory.
Examples
Example 1: Remove dedicated persistent memory
Remove-PmemDedicatedMemory -DeviceNumber 1
This example removes the specified dedicated persistent memory.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeviceNumber
Specifies the device number for the physical device. The cmdlet removes dedicated memory for that device.
Type: | UInt32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Force
Indicates that the command removes the dedicated persistent memory without verification. Removing memory results in data loss.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |