Skip to content

Remove-Vusmachineupgrade

Deletes a scheduled upgrade for a specific machine/list of machines

Syntax

Remove-VusMachineUpgrade -MachineUuid <String[]> [-Force] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]<br><br>Remove-VusMachineUpgrade -MachineName <String[]> [-Force] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]<br><br>Remove-VusMachineUpgrade -MachineUid <Int32[]> [-Force] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

The Remove-VusMachineUpgrade cmdlet deletes the scheduled upgrade for a specific machine or list of machines.

To cancel machines within scheduled duration, use the Force switch.

Parameters

Name Description Required? Pipeline Input Default Value
MachineUuid UUID of the machine or list of machines true false
MachineName Name of the machine or list of machines true false
MachineUid UID of the machine or list of machines true false
Force Removes machine schedules in upgrade window 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

None

Examples

Example 1

C:\PS> Remove-VusMachineUpgrade -MachineUuid "26C82B4E-A8E7-4013-8055-9110FD9FFDC9"

Description

Delete a scheduled upgrade for a specific machine specified by UUID.

Example 2

C:\PS> Remove-VusMachineUpgrade -MachineName "TestMachine1"

Description

Delete a scheduled upgrade for the machine with the name specified by MachineName.

Was this article helpful?