Get-SpacesProvider

Gets the storage provider for Storage Spaces.

Syntax

Get-SpacesProvider

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.

Examples

Example 1 - Get the Storage Spaces provider

PS C:\>Get-SpacesProvider

Inputs

None

Outputs

CimInstance

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.