Skip to content

Remove-Vusmachineupgrade

Delete 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>]

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

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

Detailed Description

The Remove-VusMachineUpgrade cmdlet deletes scheduled upgrade for a specific/list of machines.

To cancel machines within scheduled duration use Force switch.

Parameters

Name Description Required? Pipeline Input Default Value
MachineUuid Uuid of the machine/List of machines true false
MachineName Name of the machine/List of machines true false
MachineUid Uid of the Machine/List of Machines true false
Force Force Parameter to remove 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 machine with name specificed by Name

Was this article helpful?