Sample Exchange

 View Only

Copy Persistent Disk 

Jul 16, 2020 01:51 PM

Script to migrate Horizon Persistent Disk data to a network share and then copy the data back after a migration from Persistent Disk.

copy-persistent-disk

Chris Halstead / Josh Spencer - VMware

Version 1.5

July 16, 2020

Overview

This script is designed to be run at logon and logoff both on a Persistent Disk pool and after the migration to Instant Clones.


#PowerShell
#Horizon
#MIT
#Horizon
#FSLogix
#EUC

Statistics
0 Favorited
1 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
Copy-Persistent-Disk.ps1   9 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Comments

Feb 25, 2021 04:43 PM

Hi Chris, how can I add exclusions for files and folders in the script? Also it's grabbing the local Administrator profiles from the persistent disks, is there a way to exclude that?
Thanks

Oct 08, 2020 01:35 PM

it does create a folder for each user. It should be run with something like DEM to run under the context of each user - per user. It will detect a persistent disk, the copy all persistent disk data to a central location (folder for each user) and then copy back after they have been migrated off of the persistent disk. I need to add more instructions on the page and will do that this week.
The detailed details on usage are covered here: Modernizing VDI for a New Horizon | VMware

Oct 07, 2020 02:16 PM

Hi,
script copies user profiles, but it places all folders from users E:\ drives (persistent disk) in one place is there anyway to create folder for each user profile or we should run script only for one user ?

Related Entries and Links

No Related Resource entered.