Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 5308

Backup Documents, Desktop and Favorites folder

$
0
0

 

 

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

backupUserData


Viewing all articles
Browse latest Browse all 5308

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>