Skip to content

Get-Vusmachineinfo

Returns Machine specific details such UpgradeType, UpgradeState

Syntax

Get-VusMachineInfo -MachineUuid <String> [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

Get-VusMachineInfo -MachineName <String> [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

Get-VusMachineInfo -MachineUid <Int32> [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

Get-VusMachineInfo [-All] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

Retrieves machines matching specified criteria. If no parameters are specified this cmdlet returns all machines.

The Get-VusMachineInfo cmdlet returns the machine related persistent information such as Uuid, Name, UpgradeType, UpgradeState of a specific Machine/All Machines.

Parameters

Name Description Required? Pipeline Input Default Value
MachineUuid Uuid of the Machine as provided by Broker service true false
MachineName Name of the Machine as provided by Broker service true false
MachineUid Uid of the Machine as provided by Broker service true false
All Retrieve all machine records false false
BearerToken Specifies the bearer token assigned to the calling user false false
TraceParent Specifies the trace parent assigned for internal diagnostic tracing use false false
TraceState Specifies the trace state assigned for internal diagnostic tracing use false false
VirtualSiteId Specifies the virtual site the PowerShell snap-in will connect to. false false
AdminAddress Specifies the address of a XenDesktop controller the PowerShell snap-in will connect to. You can provide this as a host name or an IP address. false false Localhost. Once a value is provided by any cmdlet, this value becomes the default.

Input Type

System.Guid

Return Values

Citrix.Vdaupdateservice.Sdk.Machineobject

Examples

Example 1

C:\PS> Get-VusMachineInfo -MachineUuid "26C82B4E-A8E7-4013-8055-9110FD9FFDC9"

Description

Retrieve the Machine Info of the machine corresponding to the Uuid

Example 2

C:\PS> Get-VusMachineInfo

Description

Retrieve the machine Info of all the Machines

Was this article helpful?