A simple automated script to back up file with some features
1️⃣ Place the script on C:\
2️⃣ Rename the folder BackupScript (remove -main)
3️⃣ Add user with UserManager.ps1
If you launch backup.ps1 and email.ps1 for the first time, it will add a new task scheduler and the backup script will start automatically twice a day. The email script will start every Friday.
If your dont have acces to the computer the backup will not work
Configure the script if needed
To use the script correctly, you must configure the following files
You can use UserManager.ps1 Script to add user easily
The name of the computer
The path of the backup directory (exemple: C:\Bouly\Documentation)
The backup day
The backup hour (if the backup script start and the hour has passed)
The script will automatically fill this field
Enter your Administrator user
Enter your smtp server
Enter the email sender
Enter the email receiver
You can change the subject email
You can change the body email
A script to add and remove user from a CSV
Check if the computer is Online to make the backup or not
A script to send email with backup status





