

リファレンス ガイド › AutoShell › AutoShell ロード可能モジュールのコマンド リファレンス › CA Microsoft Hyper-V AutoShell コマンド › dpmhv-getVMInfo(Funclet)コマンド -- VM をすべて表示する
dpmhv-getVMInfo(Funclet)コマンド -- VM をすべて表示する
dpmhv-getVMInfo コマンドは、仮想マシンの情報および設定を取得します。
このコマンドの形式は、以下のとおりです。
dpmhv-getVMInfo
-vm vmname|-vmid vmguid
-host hostname
[-retval]
[-silent]
[-detail]
- -vm vmname
-
VM の名前を指定します。
- -vmid vmguid
-
VM の一意の ID を指定します。
- -host hostname
-
Hyper-V Server ホストの名前を指定します。
- -retval
-
後で処理できるように値を返します。
- -silent
-
画面に出力しないように指定します。
- 戻り値
-
dpmhv-getVMInfo コマンドは、仮想マシンの情報を持つオブジェクトを返します。
標準モードでは以下のプロパティが返されます。
- vm
- Caption
- ElementName
- Name
- OperationalStatus
- StatusDescriptions
- vminfo
- MemoryUsage
- ProcessorLoad
- ProcessorLoadHistory
- vmsettings
- AutoActivate
- AutomaticRecoveryAction
- AutomaticShutdownAction
- AutomaticStartupAction
- AutomaticStartupActionDelay
- Description
- ElementName
- ExternalDataRoot
- SnapshotDataRoot
- SystemName
- vmcursettings
- BaseBoardSerialNumber
- BIOSGUID
- BIOSSerialNumber
- ChassisAssetTag
- ChassisSerialNumber
- SystemName
詳細モードでは以下のプロパティが返されます。
- vm
- AssignedNumaNodeList
- Caption
- CreationClassName
- Dedicated
- Description
- ElementName
- HealthState
- IdentifyingDescriptions
- InstallDate
- Name
- NameFormat
- OnTimeInMilliseconds
- OperationalStatus
- OtherDedicatedDescriptions
- OtherEnabledState
- OtherIdentifyingInfo
- PowerManagementCapabilities
- PrimaryOwnerContact
- PrimaryOwnerName
- ProcessID
- RequestedState
- ResetCapability
- Roles
- Status
- StatusDescriptions
- TimeOfLastConfigurationChange
- TimeOfLastStateChange
- vminfo
- AsynchronousTasks
- CreationTime
- ElementName
- EnabledState
- GuestOperatingSystem
- HealthState
- Heartbeat
- MemoryUsage
- Name
- Notes
- NumberOfProcessors
- OperationalStatus
- Path
- ProcessorLoad
- ProcessorLoadHistory
- Snapshots
- StatusDescriptions
- ThumbnailImage
- UpTime
- vmsettings
- AdditionalRecoveryInformation
- AllowFullSCSICommandSet
- AutoActivate
- AutomaticRecoveryAction
- AutomaticShutdownAction
- AutomaticStartupAction
- AutomaticStartupActionDelay
- Caption
- CreationTime
- DebugChannelId
- Description
- ElementName
- ExternalDataRoot
- InstanceID
- OtherVirtualSystemType
- Path
- ScopeOfResidence
- SettingType
- SnapshotDataRoot
- SystemName
- Version
- VirtualSystemType
- vmcursettings
- BIOSGUID
- BIOSSerialNumber
- BaseBoardSerialNumber
- ChassisAssetTag
- ChassisSerialNumber
- SystemName
例: VM をすべて表示する
この例では、仮想マシンの情報を表示します。
dpmhv-getVMINfo -host hvserver -vm TestVM
Copyright © 2013 CA.
All rights reserved.
 
|
|