The
Send-LinkedCloneRefresh
command is used to refresh either a specific linked-clone desktop or an entire desktop pool.
The following example command selects all the desktops in the
FinanceLC1
pool and schedules them to refresh at the indicated time. In addition, the operation will continue even if an error occurs but will not force users to log off:Get-Pool -Pool_id "FinanceLC1" | Get-DesktopVM | Send-LinkedCloneRefresh -schedule "2014-07-25 18:00" -StopOnError $false -ForceLogoff $false
To refresh just a single desktop, you can use a simpler version of the command that requires only the machine ID and the schedule:
Send-LinkedCloneRefresh -Machine_id (Get-DesktopVM -Name "ViewLC0001").machine_id -schedule "2014-07-25 18:00"
This command will refresh only the desktop named
ViewLC0001
.