次の方法で共有


Storage Spaces Cmdlets in Windows PowerShell

Windows PowerShell® は、特にシステム管理用に設計された、タスク ベースのコマンド ライン シェルおよびスクリプト言語です。情報技術 (IT) プロフェッショナル向けのこの参照トピックは、スクリプトを作成してタスクを自動化するために Windows PowerShell コマンドレットを活用するうえでのサポートとなります。

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.

注意

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