Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Windows Task Scheduler® jobs can be migrated to JS7.
  • SOS provides a PowerShell script that which creates JS7 workflows, calendars and schedules from Windows Task Scheduler® jobs.
  • The converted objects are added to a .zip archive for import with into JS7, see see the JS7 - Inventory Export and Import article.

Download

...

The job configuration from Windows Task Scheduler® is converted to JSON files which can be imported and deployed to JS7.

This includes to create creating a workflow JSON file and a schedule JSON file per converted job. JSON file names are created from the Windows Task Scheduler® task names.

The cmdlet adds JSON files to a .zip archive which can be imported to into JS7.

PARAMETERS

AgentName

-AgentName <String>

...

Specifies the name of the .zip archive that holds the converted jobs and that which is used for import with into JS7.

By default the .zip archive is created in the current directory with the name js7-import.zip.

Required?false
Position?5
Default valuejs7-import.zip
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

CalendarName

-CalendarName <String>

...

Accepts the name of a Joda time zone, see http://joda-time.sourceforge.net/timezones.html
The specified time zone is added to the run-time settings of jobs. Consider Note that JS7 might be operated in a time zone which is different from the time zone that the Windows Task Scheduler® is operated forin.

For PowerShell FullCLR 5.1 the computer's time zone is used, for later PowerShell versions the UTC time zone is used by default.

...