Storage Spaces Cmdlets in Windows PowerShell

Windows PowerShell® es un lenguaje de scripting y shell de línea de comandos basado en tareas diseñado especialmente para la administración del sistema. En este tema de referencia para los profesionales de tecnologías de la información (TI) ofrece ayuda en el uso de los cmdlets de Windows PowerShell para crear scripts y automatizar las tareas.

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.

Nota

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

Other Resources

N:Storage