1. Home
  2. Docs
  3. Super-ExMerge On-line Doc...
  4. PowerShell Cmdlet Referen...
  5. Import-SyncTask

Import-SyncTask

Use this cmdlet to import a previously saved SyncTask object into PowerShell. This imported object can then be used in cmdlets like Add-SyncTask.

Import-SyncTask

  • -FileName

    Description

    The Import-SyncTask cmdlet creates a SyncTask object from serialized data in a file that was created by Export-SyncTask. The resulting object can be further edited and either exported again or can be used with Add-SyncTask to add it to the task queue.

    Examples

    Example 1
      Import-SyncTask -FileName 'c:\path\to\a-folder\saved sync task.task'
    

    This example attempts to import the data contained in the referenced file as a SyncTask object.


    Parameters

    -FileName

    The full path to the file containing the SyncTask data. Note that there is not a registered file extension for SyncTasks; any file extension may be used.

    Required:
    Yes
    Type:
    String
    Aliases:
    None
    Position:
    0
    Default Value:
    None

    Output

    This cmdlet places a SyncTask object on the current pipeline if the import of the data was successful. Any errors encountered during the import are reported as exceptions.

    How can we help?