Get-XenHostCpuProperty
\[Deprecated\] Gets a property of a HostCpu object.
Syntax
Get-XenHostCpuProperty [-HostCpu] <Host_cpu>
-XenProperty {Uuid | Host | Number | Vendor | Speed | Modelname | Family | Model | Stepping | Flags | Features | Utilisation | OtherConfig}
[-BestEffort] [-SessionOpaqueRef <string>] [<CommonParameters>]
Get-XenHostCpuProperty [-Ref] <XenRef[Host_cpu]>
-XenProperty {Uuid | Host | Number | Vendor | Speed | Modelname | Family | Model | Stepping | Flags | Features | Utilisation | OtherConfig}
[-BestEffort] [-SessionOpaqueRef <string>] [<CommonParameters>]
Description
DEPRECATED. This class has been deprecated.
Gets a specified property of a HostCpu object. Use the -XenProperty parameter to select which property to retrieve.
Uuid: Get the uuid field of the given host\_cpu.
Host: Get the host field of the given host\_cpu.
Number: Get the number field of the given host\_cpu.
Vendor: Get the vendor field of the given host\_cpu.
Speed: Get the speed field of the given host\_cpu.
Modelname: Get the modelname field of the given host\_cpu.
Family: Get the family field of the given host\_cpu.
Model: Get the model field of the given host\_cpu.
Stepping: Get the stepping field of the given host\_cpu.
Flags: Get the flags field of the given host\_cpu.
Features: Get the features field of the given host\_cpu.
Utilisation: Get the utilisation field of the given host\_cpu.
OtherConfig: Get the other\_config field of the given host\_cpu.
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 |
-HostCpu
The HostCpu object to operate on.
| Attribute | Value |
|---|---|
| Type | Host_cpu |
| Required | True |
| Position | 0 |
| Accepts pipeline input | True (ByValue) |
-Ref
The HostCpu object to operate on, specified by its opaque reference.
| Attribute | Value |
|---|---|
| Type | XenRef[Host_cpu] |
| 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 |
-XenProperty
Selects which property to use.
| Attribute | Value |
|---|---|
| Type | XenHostCpuProperty |
| Required | True |
| Position | Named |
| Accepts pipeline input | False |
| Accepted values | Uuid, Host, Number, Vendor, Speed, Modelname, Family, Model, Stepping, Flags, Features, Utilisation, OtherConfig |
Inputs
-
Host_cpu -
XenRef[Host_cpu]
Outputs
-
System.Object
Examples
Example 1: Get the Host property
PS> Get-XenHostCpu -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenHostCpuProperty -XenProperty Host
Gets the Host property of a HostCpu.
Example 2: Get the Number property
PS> Get-XenHostCpu -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenHostCpuProperty -XenProperty Number
Gets the Number property of a HostCpu.
Example 3: Get the Vendor property
PS> Get-XenHostCpu -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenHostCpuProperty -XenProperty Vendor
Gets the Vendor property of a HostCpu.
Related links
-
Class: HostCpu
-
Using the XenServer PowerShell module