How to Migrate from UPD to FSLogix Profile Container Profiles to Windows Virtual Desktop

Опубликовано: 30 Сентябрь 2024
на канале: Christiaan Brinkhoff
10,262
11

How to Migrate from UPD to FSLogix Profile Container Profiles to Windows Virtual Desktop.

Sign up for the preview here:
https://forms.office.com/Pages/Respon...

The migration script will allow you to perform mass conversions of user profiles from various (specified) types to FSLogix based Profile Containers at scale. Here are some details about the tool code base and structure of the code with the commands to be executed, as well as detailed examples

Once you have the migration script, \fFollow the steps below.

Place the FSLogixMigration Folder in a PSModule directory,
import the module with command
Import-Module FSLogixMigration
If the module is imported successfully you will see the welcome message.
At the time of import, a check will be done for the following modules: ActiveDirectory, Hyper-V, Pester
Example command:

Convert-UPDProfile -ProfilePath "C:\Users\UserDisk1.vhd" -Target "\\Server\FSLogixProfiles$" -MaxVHDSize 20 -VHDLogicalSectorSize 512 -VHD -IncludeRobocopyDetails -LogPath C:\temp\Log.txt`

Main Functions

Convert-RoamingProfile – Converts a roaming profile to an FSLogix Profile Container
Convert-UPDProfile – Converts a user profile disk (UPD) to an FSLogix Profile Container
Helper Functions

Get-ProfileSource – Takes input for the source type/path
New-MigrationObject – Creates a PowerShell object, which the script refers to for each migration
Mount-UPDProfile – Mounts a user profile disk to copy data
New-ProfileDisk – Creates a VHD or VHDX at the Target location
Copy-Profile – Runs a Robocopy from source to destination
New-ProfileReg – Creates an FSLogix Registry .reg file
Write-Log – Used to write verbose commands and log