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. function CreateTask { #Change below variables...
Blog
Month: April 2012Site Collection backup with cleanup job
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...