Get-XenPVSServerProperty

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

Syntax

Get-XenPVSServerProperty [-PVSServer] <PVS_server>
    -XenProperty {Uuid | Addresses | FirstPort | LastPort | Site} [-BestEffort]
    [-SessionOpaqueRef <string>] [<CommonParameters>]
Get-XenPVSServerProperty [-Ref] <XenRef[PVS_server]>
    -XenProperty {Uuid | Addresses | FirstPort | LastPort | Site} [-BestEffort]
    [-SessionOpaqueRef <string>] [<CommonParameters>]

Description

Gets a specified property of a PVSServer object. Use the -XenProperty parameter to select which property to retrieve.
Uuid: Get the uuid field of the given PVS\_server.
Addresses: Get the addresses field of the given PVS\_server.
FirstPort: Get the first\_port field of the given PVS\_server.
LastPort: Get the last\_port field of the given PVS\_server.
Site: Get the site field of the given PVS\_server.

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

-PVSServer

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

-Ref

The PVSServer object to operate on, specified by its opaque reference.
Attribute Value
Type XenRef[PVS_server]
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 XenPVSServerProperty
Required True
Position Named
Accepts pipeline input False
Accepted values Uuid, Addresses, FirstPort, LastPort, Site

Inputs

  • PVS_server
  • XenRef[PVS_server]

Outputs

  • System.Object

Examples

Example 1: Get the Addresses property

PS> Get-XenPVSServer -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenPVSServerProperty -XenProperty Addresses
Gets the Addresses property of a PVSServer.

Example 2: Get the FirstPort property

PS> Get-XenPVSServer -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenPVSServerProperty -XenProperty FirstPort
Gets the FirstPort property of a PVSServer.

Example 3: Get the LastPort property

PS> Get-XenPVSServer -Uuid 1871ac51-ce6b-efc3-7fd0-28bc65aa39ff | Get-XenPVSServerProperty -XenProperty LastPort
Gets the LastPort property of a PVSServer.