citrixxendesktop虚拟化桌面定期重启命令

author author     2022-09-29     307

关键词:

New-BrokerRebootSchedule

https://docs.citrix.com/en-us/xenapp-and-xendesktop/7-5/cds-sdk-wrapper-rho/cds-sdk-cmdlet-help/citrix-broker-admin-v2-wrapper-xd75/new-brokerrebootschedule-xd75.html


Apr 15, 2014

Creates a new reboot schedule for a desktop group.

Syntax

New-BrokerRebootSchedule [-DesktopGroupName] <String> -RebootDuration <Int32> [-Day <RebootScheduleDays>] [-Enabled <Boolean>] [-Frequency <RebootScheduleFrequency>] [-StartTime <TimeSpan>] [-WarningDuration <Int32>] [-WarningMessage <String>] [-WarningTitle <String>] [-LoggingId <Guid>] [-AdminAddress <String>] [<CommonParameters>]

New-BrokerRebootSchedule -DesktopGroupUid <Int32> -RebootDuration <Int32> [-Day <RebootScheduleDays>] [-Enabled <Boolean>] [-Frequency <RebootScheduleFrequency>] [-StartTime <TimeSpan>] [-WarningDuration <Int32>] [-WarningMessage <String>] [-WarningTitle <String>] [-LoggingId <Guid>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

The New-BrokerRebootSchedule cmdlet is used to define a reboot schedule for a desktop group.

Related topics

Get-BrokerRebootSchedule

Set-BrokerRebootSchedule

Remove-BrokerRebootSchedule

Start-BrokerRebootCycle

Parameters

-DesktopGroupName<String>

The name of the desktop group that this reboot schedule is applied to.

Required?true
Default Value
Accept Pipeline Input?true (ByPropertyName)

-RebootDuration<Int32>

Approximate maximum number of minutes over which the scheduled reboot cycle runs.

Required?true
Default Value
Accept Pipeline Input?true (ByPropertyName)

-DesktopGroupUid<Int32>

The Uid of the desktop group that this reboot schedule is applied to.

Required?true
Default Value
Accept Pipeline Input?true (ByPropertyName)

-Day<RebootScheduleDays>

For weekly schedules, the day of the week on which the scheduled reboot-cycle starts (one of Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday).

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-Enabled<Boolean>

Boolean that indicates if the new reboot schedule is enabled.

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-Frequency<RebootScheduleFrequency>

Frequency with which this schedule runs (either Weekly or Daily).

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-StartTime<TimeSpan>

Time of day at which the scheduled reboot cycle starts (HH:MM).

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-WarningDuration<Int32>

Time prior to the initiation of a machine reboot at which warning message is displayed in all user sessions on that machine. If the warning duration is zero then no message is displayed.

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-WarningMessage<String>

Warning message displayed in user sessions on a machine scheduled for reboot. If the message is blank then no message is displayed.

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-WarningTitle<String>

The window title used when showing the warning message in user sessions on a machine scheduled for reboot.

Required?false
Default Value
Accept Pipeline Input?true (ByPropertyName)

-LoggingId<Guid>

Specifies the identifier of the high level operation that this cmdlet call forms a part of. Desktop Studio and Desktop Director typically create High Level Operations. PowerShell scripts can also wrap a series of cmdlet calls in a High Level Operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Required?false
Default Value
Accept Pipeline Input?false

-AdminAddress<String>

Specifies the address of a XenDesktop controller that the PowerShell snapin will connect to. This can be provided as a host name or an IP address.

Required?false
Default ValueLocalhost. Once a value is provided by any cmdlet, this value will become the default.
Accept Pipeline Input?false

Input Type

None Input cannot be piped to this cmdlet.

Return Values

Citrix.Broker.Admin.SDK.RebootSchedule

Examples

-------------------------- EXAMPLE 1 --------------------------

C:PS> New-BrokerRebootSchedule -DesktopGroupName BankTellers -Frequency Daily -StartTime "02:00" -Enabled $true -Duration 120

Schedules the machines in the desktop group named ‘BankTellers‘ to be rebooted every night between 2 AM and 4 AM.

-------------------------- EXAMPLE 2 --------------------------

C:PS> New-BrokerRebootSchedule -DesktopGroupUid 17 -Frequency Weekly -Day Saturday -StartTime "01:00" -Enabled $true -Duration 240 -WarningTitle "WARNING: Reboot pending" -WarningMessage "Save your work" -WarningDuration 10

Schedules the machines in the desktop group having Uid 17 to be rebooted every Saturday night between 1 AM and 5 AM. Ten minutes prior to rebooting, each machine will display a message box with the title "WARNING: Reboot pending" and message "Save your work" in every user session.


vmware后台下citrixxendesktop7.6实战篇之一基础架构介绍

...拟桌面系统再运行,后台管理为VMWare5.5;前端管理桌面为citrixxendesktop5.6。现在要做的是把citrixxendesktop5.6升级成citrixxendesktop7.6。考虑到原位升级的风险方法为:采用额外安装一台服务器提供citrixxendesktop7.6服务再做数据迁移。1、... 查看详情

citrixxendesktop更改发布桌面的显示名称(代码片段)

使用powershell:asnpcitrix.*使用下面的命令获取需要改名的交付组UIDGet-BrokerDesktopGroup-name"请改成交付组名称"使用下面的命令将交付组中的所有计算机的“PublishedName”属性设置为nullGet-BrokerMachine-DesktopGroupUID交付组UID|Set-BrokerMachine-Pub... 查看详情

citrixxendesktop发布centos7.2桌面--发布桌面并登录测试

一、   配置Linux计算机目录和交付组8.1  创建计算机目录及交付组打开studio,创建计算机目录,选择“服务器操作系统“。650)this.width=650;"src="http://s2.51cto.com/wyfs02/M01/89/15/wKiom1gHHNfCIHNfAALH9I2rKZU580.png-wh_500x0-wm_ 查看详情

citrixxendesktop发布centos7.2桌面--安装软件包

一、   安装软件包LinuxVDA依赖于OpenJDK以及要求使用PostgreSQL,所以在安装LinuxVDA之前,我们需要将所需依赖包安装好。另外,将Linux计算机添加至XenDesktopforLinux支持的ActiveDirectory域有多种方法:SambaWinbindQuestAuthenticationSer... 查看详情

citrixxendesktop发布centos7.2桌面--centos7.2加域

6.1  开启winbind开机启动systemctlenable winbind.service650)this.width=650;"src="http://s4.51cto.com/wyfs02/M01/89/12/wKioL1gHDaXQBQLpAAAV4eqIaXk205.png-wh_500x0-wm_3-wmp_4-s_108646891.png"tit 查看详情

citrixxendesktop发布centos7.2桌面--安装centos7

一、   安装CentosLinux7.21、新建VM,模板选择“Centos7”650)this.width=650;"src="http://s2.51cto.com/wyfs02/M00/89/0F/wKioL1gG4TSC793SAADkjbqR79s912.png-wh_500x0-wm_3-wmp_4-s_3165791234.png"title="1.p 查看详情

云桌面虚拟机,重启关机不可以

参考技术A是的,现在云桌面虚拟机是不可以重新启动和关机的,它们都是由管理员来进行,你需要联系管理员才能重新启动或关机。 查看详情

citrixxendesktop发布centos7之限制剪贴板

   在LinuxVDA1.3版本,CitrixDDC中的策略还无法在LinuxVDA中生效。所以部分策略功能,还需要在LinuxVDA中修改注册表键值来实现。   场景:客户希望限制用户剪贴板功能,无法从Linux虚拟桌面中复制粘贴至本地终... 查看详情

citrixxendesktop发布centos7.2桌面--基本配置centos7.2

以Root用户登录Centos,进行以下步骤。4.1  安装XenServerTools在XenCenter中,将XenServerToolsISO镜像挂载到VM的光驱中。新建挂载目录mkdir /mnt/cdrom挂载XenServerToolsISO镜像mount /dev/sr0 /mnt/cdrom安装/mnt/cdrom/Linux/in 查看详情

xendesktop7.6打开虚拟桌面闪退

...闪退的问题,根据自己的经验,此问题具有共性,并且为CitrixXenDesktop7.6的Bug,特此撰写出来,与大家共享,希望各位朋友们不要再走弯路。问题现象:问题现象是这样的,某天本人正在办公室忙工作,某一大型用户突然打电话... 查看详情

xendesktop7.6打开虚拟桌面闪退

...闪退的问题,根据自己的经验,此问题具有共性,并且为CitrixXenDesktop7.6的Bug,特此撰写出来,与大家共享,希望各位朋友们不要再走弯路。问题现象:问题现象是这样的,某天本人正在办公室忙工作,某一大型用户突然打电话... 查看详情

vmware后台下citrixxendesktop7.6实战篇之八桌面交付1

1. 创建windowsdesktopos计算机目录1.1  在服务器tsddc01打开CitrixStudio,点击”计算机目录”—“创建计算机目录”650)this.width=650;"src="http://s2.51cto.com/wyfs02/M01/87/F7/wKiom1fk6VXingL9AAEqmpz3Nns277.jpg-wh_500x0-wm_ 查看详情

citrixcitrixxendesktop5.6虚拟桌面欢迎屏幕的清除方法

CitrixXenDesktopAgent在Windows7/XP安装了5.6版本的XenDesktop之后,默认增加一个开机弹出窗口“欢迎使用CitrixXenDesktop”如果桌面是Pool(池)/Streaming(pvs推送)类型的,即使勾上了“以后不再显示欢迎界面”的复选框,因为池桌面“关机... 查看详情

笔记本和ipad访问虚拟桌面登录速度差异性的问题探讨

...入一台笔记本,使用WIFI接入一部Ipad,然后通过公网访问CitrixXenDesktop的虚拟桌面:发现通过笔记本访问虚拟桌面登录的速度大约在半分钟、运行的流畅度差不多和在局域网内使用的相差不大;通过Ipad访问虚拟桌面,其登录的速... 查看详情

创建虚拟桌面的代码(重启桌面进程)(使用getthreaddesktop,createdesktop,setthreaddesktop等函数)

在upk 里挖坟得来,有兴趣查查这几个函数...  [cpp] viewplain copy  print?#include "windows.h"  #pragma comment(lib,"user32.lib")  int main() &nb 查看详情

vmware安装centos7后,为啥第二次重启系统桌面上会多一个镜像文件?

...下。 第5个回答 2019-12-18温州市安装器在二次启动时,桌面上出现了一个镜像文件,如果你想要的话可以把它关机重新打开就没有了。 查看详情

华为桌面云服务器基础架构如何重启维护

...:FusionAccess8.0.1FusionCompute8.0.1华为2288V5x2问题描述:华为桌面云服务器基础架构如何重启维护解决方案:1.进入FusionCompute2.查看正在运行的虚拟机,并将它们关机,除了VRM01和VRM02两台不要关,都关闭完成然后才能下一步3.登录BMC页... 查看详情

笔记--定期更新

问题一:虚拟机最小化安装无法使用tab补全键解决方法: 安装yum-yinstallbash-completion 然后重启注意:挂载时使用绝对路径的cdrom挂载,  ls-l/dev/cdromvim/etc/fstab ————》/dev/sr0/mnt/cdromiso966000mount-a vim/etc/yum.rep... 查看详情