Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Create XML Representation of Scheduled Task

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>