This is a PowerShell Script that creates a backup for the user profile folder in the users folder with the current date.
The script will ask you for the user name that you want to backup.
###
$sourceFolder = "C:\users\~user "# Get the current date in the "ddMMyyyy" format
$dateStamp = Get-Date -Format "ddMMyyyy"
$destinationFolder = "$sourceFolder(backup_$datestamp)"
Copy-Item -Path $sourceFolder -Destination $destinationFolder -Recurse -Force
"Backup completed. Destination folder: $destinationFolder"
###
Once downlod complete, import it throw the import option in the Custom command section.
For any additional information, please contact support@eprocsolutions.com
Article ID: 89, Created: 3/11/2024 at 9:50 PM, Modified: 10/20/2024 at 1:36 PM