共用方式為


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