

リファレンス ガイド › AutoShell › AutoShell ロード可能モジュールのコマンド リファレンス › CA Microsoft Hyper-V AutoShell コマンド › dpmhv-getPhysDisks(Funclet)コマンド -- 物理ディスクをすべて表示する
dpmhv-getPhysDisks(Funclet)コマンド -- 物理ディスクをすべて表示する
dpmhv-getPhysDisks コマンドは、Hyper-V Server の仮想マシンに接続された物理ディスクをリスト表示します。 物理ディスクは、Windows のディスク マネージャではオフライン ステータスとして表示されます。
このコマンドの形式は、以下のとおりです。
dpmhv-getPhysDisks
-host hostname
[-silent]
[-retval]
[-detail]
- -host hostname
-
Hyper-V Server ホストの名前を指定します。
- -retval
-
後で処理できるように値を返します。
- -silent
-
画面に出力しないように指定します。
- -detail
-
(オプション)仮想マシンに接続された物理ディスクの詳細を表示します。
- 戻り値
-
dpmhv-getPhysDisks コマンドは、指定された仮想マシンの SCSI コントローラを表すオブジェクトの配列を返します。
標準モードでは以下のプロパティが返されます。
- Caption
- DriveNumber
- ElementName
- Name
- Path
- StatusDescriptions
詳細モードでは以下のプロパティが返されます。
- AdditionalAvailability
- Availability
- Capabilities
- CapabilityDescriptions
- Caption
- CompressionMethod
- CreationClassName
- DefaultBlockSize
- Description
- DeviceID
- DriveNumber
- ElementName
- EnabledDefault
- EnabledState
- ErrorCleared
- ErrorDescription
- ErrorMethodology
- HealthState
- IdentifyingDescriptions
- InstallDate
- LastCleaned
- LastErrorCode
- LoadTime
- LocationIndicator
- MaxAccessTime
- MaxBlockSize
- MaxMediaSize
- MaxQuiesceTime
- MaxUnitsBeforeCleaning
- MediaIsLocked
- MinBlockSize
- MountCount
- Name
- NeedsCleaning
- NumberOfMediaSupported
- OperationalStatus
- OtherEnabledState
- OtherIdentifyingInfo
- Path
- PowerManagementCapabilities
- PowerManagementSupported
- PowerOnHours
- RequestedState
- Security
- Status
- StatusDescriptions
- StatusInfo
- SystemCreationClassName
- SystemName
- TimeOfLastMount
- TimeOfLastStateChange
- TotalMountTime
- TotalPowerOnHours
- UncompressedDataRate
- UnitsDescription
- UnitsUsed
- UnloadTime
例: 物理ディスクをすべて表示する
この例では、仮想マシンに接続された物理ディスクに関する基本情報を表示します。
dpmhv-getPhysDisks -host hvserver
Copyright © 2013 CA.
All rights reserved.
 
|
|