Script to migrate VMware Horizon Persona Management profiles to Microsoft FSLogix Profile Containers.
Script to Create FSLogix Profile Container and Migrate VMware Horizon Persona Manager Profiles automatically.
The script will look in the Persona Management share for .V6 profiles which can be migrated, it will then display them into a Grid View item. You can select multiple Persona Management profiles to migrate.
Once you have chosen the profiles to migrate, the script will then create a VHD/x in the location you specified with all of the requirements of as FSLogix profile container. The disk will be attached to the local system with a random drive letter (not in use) and required FSLogix folders and a registry entry will be made. The profile from persona will then be copied to the FSLogix Profile Container and the disk will be detached from the local system. The Profile Container is now ready for the user and includes data from the Persona Management profile.
This script needs to be run as an Administrator. Make sure to launch WindowsPowerShell (Admin)
WindowsPowerShell (Admin)
Run PM-To-FSL-Migration.ps1
PM-To-FSL-Migration.ps1
Enter the UNC Path where you want FSLogix Profile Containers Created ex: Example: \\fileserver\share
Example: \\fileserver\share
Enter the UNC Path to the Persona Management Share Example: \\fileserver\share
Enter the size of the FSLogix Profile Container to be created in Gigabytes Example: 30
Example: 30
Enter the disk format - VHD or VHDX Example: VHDX
Example: VHDX
Chose one or multiple Persona Management Profiles to migrate and click OK.
Note: Profiles will not show if the Persona Management Profile contains the PM2FSLflag.txt file. Delete the flag file to run the import process again.
PM2FSLflag.txt
The script will run and do the following:
There is a folder \Logs created under the location where the script is executed from
\Logs
In the logs folder the following logs are created:
PMtoFSL#{username who execute script}
robocopy_{user that was migrated}
Example of Admin Log:
Example of Robocopy Log: