-
Understanding the Citrix Virtual Apps and Desktops Administration Model
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
New-VusMachineUpgrade
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
New-VusMachineUpgrade
Introduced in: Citrix Virtual Apps and Desktop 7 2411
Creates a new schedule for a machine or list of machines
Syntax
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-IncludeAdditionalComponents <ComponentSelection[]>]
[-ExcludeComponents <ComponentSelection[]>]
[-Features <String[]>]
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-IncludeAdditionalComponents <ComponentSelection[]>]
[-ExcludeComponents <ComponentSelection[]>]
[-Features <String[]>]
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineName <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-IncludeAdditionalComponents <ComponentSelection[]>]
[-ExcludeComponents <ComponentSelection[]>]
[-Features <String[]>]
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-IncludeAdditionalComponents <ComponentSelection[]>]
[-ExcludeComponents <ComponentSelection[]>]
[-Features <String[]>]
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUid <Int32[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-IncludeAdditionalComponents <ComponentSelection[]>]
[-ExcludeComponents <ComponentSelection[]>]
[-Features <String[]>]
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
-ScheduledTimeInUtc <DateTime>
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-IncludeAdditionalComponents <ComponentSelection[]>]
[-ExcludeComponents <ComponentSelection[]>]
[-Features <String[]>]
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
New-VusMachineUpgrade
[-UpgradeNow]
-DurationInHours <Int32>
[-Features <String[]>]
-IncludeAdditionalComponentsXml <String>
-ExcludeComponentsXml <String>
[-VdaWorkstationPackageUri <String>]
[-VdaServerPackageUri <String>]
[-UpgradeVersion <String>]
[-LogoffOption <LogoffOption>]
[-InstallOrUpgradeCWA]
-MachineUuid <String[]>
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
Description
The New-VusMachineUpgrade cmdlet creates a new schedule for a machine or list of machines.
The cmdlet syncs with broker service to determine if the machine actually is added to broker service and only then schedules the upgrade for it.
Examples
EXAMPLE 1
Create a new upgrade for the machine matching the given UUID.
NewVusMachineUpgrade -MachineUuid "26C82B4E-A8E7-4013-8055-9110FD9FFDC9" -ScheduledTimeInUtc ([System.DateTime]::ParseExact("10/23/2021 07:00 PM", 'MM/dd/yyyy hh:mm tt', $null)) -DurationInHours 4
<!--NeedCopy-->
EXAMPLE 2
Create a new upgrade for the machine matching the given UUID.
NewVusMachineUpgrade -MachineUuid "26C82B4E-A8E7-4013-8055-9110FD9FFDC9" -UpgradeNow -DurationInHours 4
<!--NeedCopy-->
EXAMPLE 3
Create a new upgrade for a list of machines matching the given list of UUIDs.
NewVusMachineUpgrade -MachineUuid @("26C82B4E-A8E7-4013-8055-9110FD9FFDC9","48C6D5FC-8547-449D-A779-124C7AAE3AC8") -UpgradeNow -DurationInHours 4
<!--NeedCopy-->
EXAMPLE 4
Create a new upgrade that will use a custom location to download the installer package from.
NewVusMachineUpgrade -MachineUuid "26C82B4E-A8E7-4013-8055-9110FD9FFDC9" -UpgradeNow -DurationInHours 4 -VdaWorkstationPackageUri "\\hostname\VDA-Packages\VDAWorkstationSetup_2308.exe"
<!--NeedCopy-->
EXAMPLE 5
Create a new upgrade using a custom download location for a list of machines containing a mix of workstation and server OSes.
NewVusMachineUpgrade -MachineUuid @("26C82B4E-A8E7-4013-8055-9110FD9FFDC9","48C6D5FC-8547-449D-A779-124C7AAE3AC8") -UpgradeNow -DurationInHours 4 -VdaWorkstationPackageUri "\\hostname\VDA-Packages\VDAWorkstationSetup_2308.exe" -VdaServerPackageUri "\\hostname\VDA-Packages\VDAServerSetup_2308.exe"
<!--NeedCopy-->
Parameters
-ScheduledTimeInUtc
Scheduled time in UTC when machine upgrade occurs
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DurationInHours
Hours available for upgrade
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IncludeAdditionalComponentsXml
List of New Components(in XML format) that are to be included/added in the Upgrade for a single machine only. The XML Scehma definition(xsd) is provided in the examples section.ComponentId, ParameterId can be obtianed from the GetVusMachineAdditionalComponents cmdlet.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExcludeComponentsXml
List of Installed Components that are to be excluded/omitted in the Upgrade for a single machine only.This parameter accepts XML string. The XML Scehma definition(xsd) is provided in the examples section. ComponentId, ParameterId can be obtianed from the GetVusMachineAdditionalComponents cmdlet.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UpgradeNow
Switch to start upgrade at current time in UTC
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IncludeAdditionalComponents
List of New Components that are to be included/added in the Upgrade for a single machine only. This parameter accepts a List of Component PS Object. ComponentId and ParameterId can be obtianed from the GetVusMachineAdditionalComponents cmdlet.
Type: | ComponentSelection[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExcludeComponents
List of Installed Components that are to be excluded/omitted in the Upgrade for a single machine only. This parameter accepts a List of Component PS Object. ComponentId and ParameterId can be obtianed from the GetVusMachineAdditionalComponents cmdlet.
Type: | ComponentSelection[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Features
List of string (FeatureId GUIDs) to be enabled on VDA. FeatureId can be obtained from the GetVusMachineAdditionalComponents cmdlet
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VdaWorkstationPackageUri
Custom location to download the VDA Workstation package from. Currently, only network shares (specified using a UNC path) are supported.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VdaServerPackageUri
Custom location to download the VDA Server package from. Currently, only network shares (specified using a UNC path) are supported.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UpgradeVersion
Upgrade Version to which the VDA needs to be Upgraded to.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LogoffOption
LogoffOption for a VDAs in Machine list
Type: | LogoffOption |
Accepted values: | DoNotLogoff, ActiveSessionsOnly, DisconnectedSessionsOnly, ActiveAndDisconnectedSessions |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InstallOrUpgradeCWA
Switch to specify whether to Install or Upgrade CWA along with VDA Upgrades
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MachineName
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MachineUid
Type: | Int32[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MachineUuid
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
CitrixCommonParameters
This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Guid
Citrix.VdaUpdateService.Sdk.LogoffOption
LogoffOption i.e, DoNotLogoff/ActiveSessionsOnly/DisconnectedSessionsOnly/ActiveAndDisconnectedSessions
Outputs
Citrix.VdaUpdateService.Sdk.MachineScheduleObject
Upgrade information for most recent machine schedule
Related Links
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.