Migrate.ps1 is a PowerShell script designed to perform a basic migration of Windows user profiles, including user data for Google Chrome, Firefox, and Microsoft Edge. This script can be run from a portable hard drive, USB disk, or through an RMM (Remote Monitoring and Management) solution. Its primary purpose is to clone a Windows user profile along with the associated browser data.
- Backup and restore Windows user profiles.
- Includes user data for Google Chrome, Firefox, and Microsoft Edge.
- Designed for ease of use with portable storage devices and RMM solutions.
Display the help menu:
.\Migrate.ps1 -hBackup a user profile to a specified directory:
.\Migrate.ps1 -c <source_user> <destination_path>Example:
.\Migrate.ps1 -c user1 E:\ProfilesThis command backs up the profile of user1 to the directory E:\Profiles.
Restore a user profile from a backup directory and overwrite an existing user profile:
.\Migrate.ps1 -p <source_user> <backup_path> <destination_user>Example:
.\Migrate.ps1 -p user1 E:\Profiles user2This command restores the profile of user1 from the directory E:\Profiles and overwrites the profile of user2.
- PowerShell
- Administrator privileges
- Ensure the script is executed with administrative privileges to access and modify user profiles.
- Verify the destination path exists or can be created by the script.