Invoke-xComponent

$MyJob = Invoke-xComponent -Name [-Description] [-SourceRedirec] [-SourceUser] [-SourcePassword] [-TargetRedirect] [-TargetUser] [-TargetPassword] [-FusionParameters]

Name Description
-Name The name of the component to run.
[-Description] The description is added to the “Job log” and to the job list in the “Batch job monitor”.
[-SourceRedirect] The built-in parameter in Fusion.
[-SourceUser] The user name specified in the SharePoint connection referenced in the source specification of the componnet.
[-SourcePassword] The source specification in the “File Transport” component.
[-TargetRedirect] The built-in parameter in Fusion.
[-TargetUser] The user name specified in the SharePoint connection referenced in the target specification of the componnet.
[-TargetPassword] The password specified in the SharePoint connection referenced in the target specification of the component.
[-FusionParameters] Assings a value to any number of program parameters.
Format: “MyParameter1=123;MyParameter2=2014-12-25 10:00:00

A PSObject is returned.

$MyJob.Result Description
“Ok” Completed successfully without any errors.
“Warning” Completed, but warninsg were issued.
“Error” Errors occurred.

$MyJob.Message contains detailed information abut the Result

This enables for custom logic that runs named components.
The function Invoke-xComponent has arguments to override the components stored properties or to assign values to Fusion parameters.

In the “Batch job monitor” the initiated jobs are listed. The job parameters can be modified.
When ‘Run in test mode’ is checked the jobs runs without copying any files. (Applies to File Transport only).

To start writing you PowerShell program, click the appropriate button. The sample script/project will be copied to the Windows folder ‘ApplicationData’ and your associated editor will open.

When the job is initiated you can monitor progress and open the real time Job log

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment