Share via


Repair-SpacesConfiguration

Repair-SpacesConfiguration

Repairs unhealthy resources associated with a Storage Spaces storage pool.

Syntax

Repair-SpacesConfiguration [ <CommonParameters>]

Detaillierte Beschreibung

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

Parameter

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

  • None

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • None

Beispiele

Example 1 – Repair Storage Spaces

PS C:\> Repair-SpacesConfiguration