Export (0) Print
Expand All

Storage Spaces Cmdlets in Windows PowerShell

Published: February 6, 2013

Updated: February 6, 2013

Applies To: Windows 8, Windows Server 2012

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Storage Spaces

This reference provides cmdlet descriptions and syntax for all Storage Spaces-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

noteNote
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.

 

Cmdlet Description

Disable-StorageSpacesMpioSupport

Prevents MPIO from claiming serial attached SCSI (SAS) disks on the local computer, and clears the default Load Balance policy configured for disks with MSDSM. This cmdlet does not uninstall the MPIO feature.

Enable-StorageSpacesMpioSupport

Installs and optimizes the configuration of MPIO for Storage Spaces with serial attached SCSI (SAS) disks on the local computer.

Get-AvailableDriveLetter

Returns an array of the available drive letters.

Get-SpacesConfiguration

Gets an object that contains detailed information about the configuration of a Storage Spaces pool.

Get-SpacesPhysicalDisk

Gets all PhysicalDisk objects that can be used with Storage Spaces to form a storage pool.

Get-SpacesPool

Gets all storage pools on the Storage Spaces subsystem.

Get-SpacesPoolPhysicalDiskHWCounter

Collects hardware-based reliability counters for all physical disks in a given Storage Spaces pool.

Get-SpacesProvider

Gets the storage provider for Storage Spaces.

Get-SpacesSubsystem

Gets the storage subsystem for Storage Spaces.

Get-SpacesVolume

Gets information about volumes created on storage spaces.

Get-StorageSpacesMpioConfiguration

Returns current MPIO settings for Storage Spaces.

New-SpacesPool

Creates a storage pool on the Storage Spaces subsystem.

New-SpacesVolume

Creates a storage space and then creates and formats a volume on the storage space.

New-StorageSpacesEventLog

Enables logging of notifications for Storage Spaces.

Remove-StorageSpacesEventLog

Disables logging of notifications for Storage Spaces and removes existing logs.

Repair-SpacesConfiguration

Repairs unhealthy resources associated with a Storage Spaces storage pool.

Resize-SpacesVolume

Resizes storage spaces and file system volumes.

Test-SpacesConfiguration

Tests for unhealthy resources associated with a Storage Spaces storage pool.

 

See Also

Reference

Storage

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