Get-WssDisk

Get-WssDisk

Gets an object that represents a disk.

構文

Parameter Set: Default
Get-WssDisk [-ID <Guid> ] [ <CommonParameters>]

詳細説明

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 storage.

パラメーター

-ID<Guid>

Specifies the GUID for a disk.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.WindowsServerSolutions.Storage.Disk

    This cmdlet generates the server Disk object.

Example 1: Get a Disk object

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

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

関連トピック

Initialize-WssDisk