Reference Guide › AutoShell › AutoShell Loadable Modules' Command Reference › CA Microsoft Hyper-V AutoShell Commands › dpmhv-getHostSwitches (Funclet) Command--Show Host Switches on a Hyper-V Host
dpmhv-getHostSwitches (Funclet) Command--Show Host Switches on a Hyper-V Host
The dpmhv-getHostSwitches command displays host switches (virtual networks) defined on a Hyper-V host.
This command has the following format:
dpmhv-getHostSwitches
-host hostname
[-retval]
[-silent]
[-detail]
- -host hostname
-
Specifies the name of the Hyper-V server host.
- -retval
-
Returns a value for further processing.
- -silent
-
Specifies not to direct the output to the screen.
- -detail
-
(Optional) Displays the details of the virtual networks (host networks).
- Return Value
-
The dpmhv-getHostSwitches command returns an array of objects with each object representing one virtual switch (virtual host) on the specified host.
The following properties are returned in regular mode:
- BytesReceivedPersec
- BytesSentPersec
- Caption
- ElementName
- Name
- StatusDescriptions
The following properties are returned in detail mode:
- BroadcastPacketsReceivedPersec
- BroadcastPacketsSentPersec
- BytesPersec
- BytesReceivedPersec
- BytesSentPersec
- Caption
- CreationClassName
- Dedicated
- Description
- DirectedPacketsReceivedPersec
- DirectedPacketsSentPersec
- ElementName
- EnabledDefault
- EnabledState
- HealthState
- IdentifyingDescriptions
- InstallDate
- LearnedMacAddresses
- LearnedMacAddressesPersec
- MaxChimneyOffloads
- MaxVMQOffloads
- MulticastPacketsReceivedPersec
- MulticastPacketsSentPersec
- Name
- Name1
- NameFormat
- NumLearnableAddresses
- OperationalStatus
- OtherDedicatedDescriptions
- OtherEnabledState
- OtherIdentifyingInfo
- PacketsFlooded
- PacketsFloodedPersec
- PacketsPersec
- PacketsReceivedPersec
- PacketsSentPersec
- Path
- PowerManagementCapabilities
- PrimaryOwnerContact
- PrimaryOwnerName
- PurgedMacAddresses
- PurgedMacAddressesPersec
- RequestedState
- ResetCapability
- Roles
- ScopeOfResidence
- Status
- StatusDescriptions
- TimeOfLastStateChange
Example: Show Host Switches
This example displays the list of host switches on a Hyper-V host.
dpmhv-getHostSwitches -host hvserver
Copyright © 2013 CA.
All rights reserved.
|
|