Recomposing a linked-clone desktop pool
The Send-LinkedCloneRecompose
command is used to recompose either a specific linked-clone desktop or the entire desktop pool.
How to do it…
In the following example, we will be recomposing to a new snapshot of the same parent VM; the snapshot is named
0525
. Since this VM now has two snapshots, theParentSnapshotPath
will now be in the/0522/0525
, format, where0522
is the name of the original snapshot used to create the pool. The remainder of the command follows a format that is similar to theSend-LinkedCloneRefresh
command:Get-Pool -Pool_id "FinanceLC1" | Get-DesktopVM | Send-LinkedCloneRecompose -ParentVMPath "/RTP/vm/Master/Win81x32-LC" -ParentSnapshotPath "/0522/0525" -schedule "2014-07-25 18:00"
The command will recompose all desktops in the pool to the snapshot named
0525
at the indicated time. You can also select a different parent VM when performing a recompose, but remember that the VM must be running the same OS as the existing desktops.You...