編集

次の方法で共有


Initialize-PmemPhysicalDevice

Initializes the label storage area on a physical persistent memory device.

Syntax

Initialize-PmemPhysicalDevice
          -DeviceId <String>
          [-Force]
          [-WhatIf]
          [-Confirm]
          [<CommonParameters>]

Description

The Initialize-PmemPhysicalDevice cmdlet initializes the label storage area on a physical persistent memory device.

Each persistent memory module contains a label storage area that stores configuration metadata. The cmdlet can clear corrupted label storage information on the devices.

This cmdlet causes data loss in persistent memory. Use it only as a last resort to fix persistent memory issues.

Examples

Example 1: Initialize physical devices

Get-PmemPhysicalDevice | Initialize-PmemPhysicalDevice

This will initialize the label storage area on the physical persistent memory device(s) and will result in data loss.
Initializes the physical persistent memory device(s)?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): A
Initializing the physical persistent memory device. This may take a few moments.
Initializing the physical persistent memory device. This may take a few moments.
Initializing the physical persistent memory device. This may take a few moments.
Initializing the physical persistent memory device. This may take a few moments.

This command initializes the label storage areas on the physical persistent memory devices. The command can clear corrupted label storage information on the devices.

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

-DeviceId

Specifies the device ID of the device to initialize.

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

-Force

Indicates that the command initializes the device without verification. Removing a disk 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

Inputs

String

Outputs

Object