Get-WssPoolableDisk

Get-WssPoolableDisk

Gets disks to use to create storage space.

Syntax

Get-WssPoolableDisk [ <CommonParameters>]

Detailed Description

The Get-WssPoolableDisk cmdlet gets objects that represent the physical disks to use to create storage space.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.WindowsServerSolutions.Storage.Disk

Examples

Example 1: Get poolable disks

This command gets objects that represent all of the physical disks available for storage space.

PS C:\> Get-WssPoolableDisk
PS C:\> 

New-WssStorageSpace

Add-WssDisksToSpacesPool