PowerShell Examples

As a .NET library, all of the Task Scheduler Managed Wrapper can be used from within PowerShell. You simply need to load the assembly and then use the interop methods, like New-Object, to interact with the classes.

Create a task

    [Microsoft.Win32.TaskScheduler.QuickTriggerType]::Hourly, "cmd", "/param1")

Last edited Oct 6, 2015 at 5:28 PM by dahall, version 3


No comments yet.