CmdID / PowerShell / Cmdlets / Remove
Remove-PmemDisk
Removes persistent memory disks. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-DiskNumberSpecifies the disk number of persistent memory disk to remove.-ForceIndicates that the command removes the disk without verification.-SimulatedIndicates that the cmdlet removes simulated disks.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.