Summary: Learn how to export a scheduled task to XML by using Windows PowerShell.
How can I use Windows PowerShell to create an XML representation of a scheduled task?
Use the Get-ScheduledTask function and pipe the results to the Export-ScheduledTask function,
for example:
Get-ScheduledTask applog | Export-ScheduledTask