Get-XenVIFMetricsProperty
\[Removed\] Gets a property of a VIFMetrics object.
Syntax
Get-XenVIFMetricsProperty [-VIFMetrics] <VIF_metrics>
-XenProperty {Uuid | IoReadKbs | IoWriteKbs | LastUpdated | OtherConfig} [-BestEffort]
[-SessionOpaqueRef <string>] [<CommonParameters>]
Get-XenVIFMetricsProperty [-Ref] <XenRef[VIF_metrics]>
-XenProperty {Uuid | IoReadKbs | IoWriteKbs | LastUpdated | OtherConfig} [-BestEffort]
[-SessionOpaqueRef <string>] [<CommonParameters>]
Description
REMOVED. This class has been removed.
Gets a specified property of a VIFMetrics object. Use the -XenProperty parameter to select which property to retrieve.
Uuid: Get the uuid field of the given VIF\_metrics.
IoReadKbs: Get the io/read\_kbs field of the given VIF\_metrics. (Removed.)
IoWriteKbs: Get the io/write\_kbs field of the given VIF\_metrics. (Removed.)
LastUpdated: Get the last\_updated field of the given VIF\_metrics.
OtherConfig: Get the other\_config field of the given VIF\_metrics.
Parameters
-BestEffort
If set, the cmdlet continues processing further objects instead of throwing a terminating error when an operation fails for one object.
| Attribute | Value |
|---|---|
| Type | SwitchParameter |
| Required | False |
| Position | Named |
| Accepts pipeline input | False |
-Ref
The VIFMetrics object to operate on, specified by its opaque reference.
| Attribute | Value |
|---|---|
| Type | XenRef[VIF_metrics] |
| Required | True |
| Position | 0 |
| Accepts pipeline input | True (ByPropertyName) |
| Aliases | opaque_ref |
-SessionOpaqueRef
The session object on which to run the cmdlet. This overrides the default session and lets you target a specific open XenServer connection.
| Attribute | Value |
|---|---|
| Type | string |
| Required | False |
| Position | Named |
| Accepts pipeline input | False |
-VIFMetrics
The VIFMetrics object to operate on.
| Attribute | Value |
|---|---|
| Type | VIF_metrics |
| Required | True |
| Position | 0 |
| Accepts pipeline input | True (ByValue) |
-XenProperty
Selects which property to use.
| Attribute | Value |
|---|---|
| Type | XenVIFMetricsProperty |
| Required | True |
| Position | Named |
| Accepts pipeline input | False |
| Accepted values | Uuid, IoReadKbs, IoWriteKbs, LastUpdated, OtherConfig |
Inputs
-
VIF_metrics -
XenRef[VIF_metrics]
Outputs
-
System.Object
Examples
Example 1: Get the IoReadKbs property
PS> Get-XenVIFMetrics -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenVIFMetricsProperty -XenProperty IoReadKbs
Gets the IoReadKbs property of a VIFMetrics.
Example 2: Get the IoWriteKbs property
PS> Get-XenVIFMetrics -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenVIFMetricsProperty -XenProperty IoWriteKbs
Gets the IoWriteKbs property of a VIFMetrics.
Example 3: Get the LastUpdated property
PS> Get-XenVIFMetrics -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenVIFMetricsProperty -XenProperty LastUpdated
Gets the LastUpdated property of a VIFMetrics.
Related links
-
Class: VIFMetrics
-
Using the XenServer PowerShell module