Get-WssDrive

Get-WssDrive

Gets an object that represents a drive.

構文

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

詳細説明

The Get-WssDrive cmdlet gets an object that represents a drive. Specify a GUID for a specific drive. If you do not specify a GUID, the cmdlet gets Drive objects for all the drives for the current server.

パラメーター

-ID<Guid>

Specifies the GUID for a drive.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

  • Microsoft.WindowsServerSolutions.Storage.Drive

    This cmdlet generates the server Drive object.

Example 1: Get all drives

This command gets Drive objects for all the drives for the current server.

PS C:\> Get-WssDrive 

関連トピック

Set-WssDrive

Test-WssDrive