It will work as long as the XML have extracted complies with all the versions of Windows in your environment. You can do a few things to ensure this:
- Use the Task Scheduler applet from Windows on the oldest version of Windows in the environment to export the XML for your task.
- Use the same applet on any version, but make sure the OS selected on the first tab is the oldest in your environment.
- In the library, use the TaskDefintion's LowestSupportedVersion to confirm it complies or use the Validate method to get a list of reasons it doesn't.