This blog contains a script which can be run to set schedule a task with PowerShell that also runs a PowerShell script. We create 5 tasks using this script when we install SharePoint 2010. Keep in mind that you have to change the time that the task will run on.
We use PowerShell to backup our SharePoint 2010 farms and we can select how many days we want to save the farm backup. We didn’t had this yet for site collections so i created a script that backups all site collections from SharePoint 2010 and deletes the folder after X number of days. Backup Script … Read More