Skip to content

Get-Vusmachineupgradestatus

Returns upgrade status of specific machine schedule

Syntax

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

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

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

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

Detailed Description

The Get-VusMachineUpgradeStatus cmdlet returns upgrade status such as: Uuid, StateId, Status Message, Last state change, Scheduled Time, Duration in hours, Upgrade Version of specific machine schedule/All machine schedules.

Machine level schedule records are cleaned up every 14 days after the completion of schedule. You can look at the status to see the reason for upgrade failure.

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 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.Machinestatus

The Upgrade information for most recent machine schedule

Examples

Example 1

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

Description

Returns upgrade status of machine matching the Given Uuid

Example 2

C:\PS> Get-VusMachineUpgradeStatus -MachineName "TestMachine1"

Description

Returns upgrade status of machine matching the Given Name

Was this article helpful?