Migrating scheduled tasks from 2008 to 2012+
Today I was busy with a customer who needed to migrate some Scheduled Tasks from his Windows Server 2008 to his new Windows Server 2012 R2 machine.
Slight issue, there were 139!! Scheduled Tasks [generating reports and sending them to various sources]. There’s no way I was going to do this manually, so let’s start up my favourite tool for the job: PowerShell!
I immediately ran into the first issue: There are no PowerShell cmdlets for Windows 2008 concerning Scheduled Tasks, so you’re limited to the built in command SchTasks, however this can be a troublesome parsing etc. .
