Export (0) Print
Expand All

Get-SpacesProvider

Published: February 6, 2013

Updated: February 6, 2013

Applies To: Windows 8, Windows Server 2012

Get-SpacesProvider

Gets the storage provider for Storage Spaces.

Syntax


Get-SpacesProvider [ <CommonParameters>]




Detailed Description

The Get-SpacesProvider cmdlet gets the StorageProvider object for the Storage Spaces subsystem, which you can then use with cmdlets from the Storage module.

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.

  • Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageProvider

    This cmdlet returns an object that represents the storage provider for Storage Spaces.


Notes

  • This cmdlet is similar to the Get-StorageProvider cmdlet of the Storage module, except that instead of getting all storage providers, the Get-SpacesProvider cmdlet gets only the Storage Spaces provider.

  • 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 – Get the Storage Spaces provider

PS C:\> Get-SpacesProvider

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