Some custom Powershell scripts and settings I like to have available for all Powershell sessions. To do this I add the following to my Powershell profile so it loads all scripts in a directory when opening. First create a directory to store the script files. I use c:\users\<USER>\ProfileScripts now add your scripts to that directory.
This is a simple webserver backup script that utilizes rclone to mount onedrive storage to store backups. You can use any rclone configured storage. How to use the script copy the script below and update the config VARs section and change all <USERNAME> sections to point to the appropriate user. This script assumes web site