Get-XenFeatureProperty

Last published : Nov 12, 2026
Gets a property of a Feature object.

Syntax

Get-XenFeatureProperty [-Feature] <Feature>
    -XenProperty {Uuid | NameLabel | NameDescription | Enabled | Experimental | Version | Host}
    [-BestEffort] [-SessionOpaqueRef <string>] [<CommonParameters>]
Get-XenFeatureProperty [-Ref] <XenRef[Feature]>
    -XenProperty {Uuid | NameLabel | NameDescription | Enabled | Experimental | Version | Host}
    [-BestEffort] [-SessionOpaqueRef <string>] [<CommonParameters>]

Description

Gets a specified property of a Feature object. Use the -XenProperty parameter to select which property to retrieve.
Uuid: Get the uuid field of the given Feature.
NameLabel: Get the name/label field of the given Feature.
NameDescription: Get the name/description field of the given Feature.
Enabled: Get the enabled field of the given Feature.
Experimental: Get the experimental field of the given Feature.
Version: Get the version field of the given Feature.
Host: Get the host field of the given Feature.

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

-Feature

The Feature object to operate on.
Attribute Value
Type Feature
Required True
Position 0
Accepts pipeline input True (ByValue)

-Ref

The Feature object to operate on, specified by its opaque reference.
Attribute Value
Type XenRef[Feature]
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 XenFeatureProperty
Required True
Position Named
Accepts pipeline input False
Accepted values Uuid, NameLabel, NameDescription, Enabled, Experimental, Version, Host

Inputs

  • Feature
  • XenRef[Feature]

Outputs

  • System.Object

Examples

Example 1: Get the Enabled property

PS> Get-XenFeature -Name "Demo Feature" | Get-XenFeatureProperty -XenProperty Enabled
Gets the Enabled property of a Feature.

Example 2: Get the Experimental property

PS> Get-XenFeature -Name "Demo Feature" | Get-XenFeatureProperty -XenProperty Experimental
Gets the Experimental property of a Feature.

Example 3: Get the Version property

PS> Get-XenFeature -Name "Demo Feature" | Get-XenFeatureProperty -XenProperty Version
Gets the Version property of a Feature.