Backup Documents, Desktop and Favorites folder



This script creates folder structure at the target backup location and copies Desktop, Documents and Favorites from User's profile

It takes a target variable targetFolder, to be the parent backup location. Feel free to modify as needed. It creates folder structure under targetFolder in YYYY_MMM_DD_HH.MM format and creates Desktop, Documents and Favorities folders
All files are copied under their respective folders in exact folder structure.

Disclaimer : This script is tested and working in my environment,
it is recommended that you test it in a test environment
before using in your production environment