Export (0) Print
Expand All

Repair-SpacesConfiguration

Published: February 6, 2013

Updated: February 6, 2013

Applies To: Windows 8, Windows Server 2012

Repair-SpacesConfiguration

Repairs unhealthy resources associated with a Storage Spaces storage pool.

Syntax


Repair-SpacesConfiguration [ <CommonParameters>]




Detailed Description

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

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Notes

  • The StorageSpaces module is a downloadable module available for use with Windows Server 2012 and Windows 8. You can download the module from the Script Center.

Examples

Example 1 – Repair Storage Spaces

PS C:\> Repair-SpacesConfiguration

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft