Get-WssDisk

Gets an object that represents a disk.

Syntax

Get-WssDisk
   [-ID <Guid>]

Description

The Get-WssDisk cmdlet gets an object that represents a disk. Specify a GUID for a specific disk. If you do not specify a GUID, the cmdlet gets Disk objects for all the drives for the current server. You can use the Initialize-WssDisk cmdlet to initialize a disk for sbs_sbs8_1 storage.

Examples

Example 1: Get a Disk object

PS C:\> Get-WssDisk -ID "26a21bda-a627-11d7-9931-806e6f6e6963"

This command gets the Disk object that has the ID 26a21bda-a627-11d7-9931-806e6f6e6963.

Parameters

-ID

Specifies the GUID for a disk.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Disk