Repair-SpacesConfiguration

Repair-SpacesConfiguration

Repairs unhealthy resources associated with a Storage Spaces storage pool.

语法

Repair-SpacesConfiguration [ <CommonParameters>]

详细说明

The Repair-SpacesConfiguration cmdlet repairs unhealthy Storage Spaces resources. It performs the following operations:

Enumerate storage pools that are read-only and offer to recover them

Enumerate storage spaces that are set for manual attachment, and attach them

Enumerate and repair any unhealthy storage spaces

Enumerate and display any unhealthy physical disks

参数

<CommonParameters>

此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

输入

输入类型是指可通过管道传送给 cmdlet 的对象的类型。

  • None

输出

输出类型是 cmdlet 所发出对象的类型。

  • None

示例

Example 1 – Repair Storage Spaces

PS C:\> Repair-SpacesConfiguration