Storage Spaces Cmdlets in Windows PowerShell
Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.
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.
Notes
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 |
---|---|
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. |
|
Installs and optimizes the configuration of MPIO for Storage Spaces with serial attached SCSI (SAS) disks on the local computer. |
|
Returns an array of the available drive letters. |
|
Gets an object that contains detailed information about the configuration of a Storage Spaces pool. |
|
Gets all PhysicalDisk objects that can be used with Storage Spaces to form a storage pool. |
|
Gets all storage pools on the Storage Spaces subsystem. |
|
Collects hardware-based reliability counters for all physical disks in a given Storage Spaces pool. |
|
Gets the storage provider for Storage Spaces. |
|
Gets the storage subsystem for Storage Spaces. |
|
Gets information about volumes created on storage spaces. |
|
Returns current MPIO settings for Storage Spaces. |
|
Creates a storage pool on the Storage Spaces subsystem. |
|
Creates a storage space and then creates and formats a volume on the storage space. |
|
Enables logging of notifications for Storage Spaces. |
|
Disables logging of notifications for Storage Spaces and removes existing logs. |
|
Repairs unhealthy resources associated with a Storage Spaces storage pool. |
|
Resizes storage spaces and file system volumes. |
|
Tests for unhealthy resources associated with a Storage Spaces storage pool. |
See Also
Other Resources
N:Storage