- Copy / paste https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb to win32_taskscheduler2.rb and rename provider to :win32_taskscheduler2.
- Update any usage of Win32::TaskScheduler to Win32::TaskScheduler2, including references to constants
- Remove calls to any methods not present in Win32::TaskScheduler2 as needed - for instance, the concept of Activate may no longer make sense
- Copy / paste the file at https://github.com/puppetlabs/puppet/blob/master/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb to win32_taskscheduler2_spec.rb and update references from Win32::TaskScheduler to Win32::TaskScheduler2. Remove any tests that deal with specific v1 implementation details (like how task files are generated on disk)