PowerTip: Create XML Representation of Scheduled Task

The Scripting Guys

Dr Scripto

Summary: Learn how to export a scheduled task to XML by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create an XML representation of a scheduled task?

Hey, Scripting Guy! Answer Use the Get-ScheduledTask function and pipe the results to the Export-ScheduledTask function,
           for example:

Get-ScheduledTask applog | Export-ScheduledTask

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.