Get-SpacesSubsystem

Gets the storage subsystem for Storage Spaces.

Syntax

Get-SpacesSubsystem

Description

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

StorageSubsystem object is used as an input on some Storage Management cmdlets. This cmdlet differs from the Get-StorageSubSystem cmdlet in that it only reports the storage subsystem for Storage Spaces, as opposed to all available storage subsystems.

Examples

Example 1 - Get the StorageSubsystem object for Storage Spaces

PS C:\>Get-SpacesSubsystem

This example gets the StorageSubsystem object for Storage.

Inputs

None

Outputs

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageSubSystem

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

Notes

  • This cmdlet is similar to the Get-StorageSubsystem cmdlet of the Storage module, except that instead of getting all storage subsystems, the Get-SpacesSubsystem cmdlet gets only the Storage Spaces storage subsystem object.