Add-xJobLog -LogType “String” -Message “String”
Add a message to the Fusion Job Log.
The command works asynchronously so you can use the Fusion Job Log to monitor the progress of your script as it executes.
-LogType | Argument Description |
---|---|
|
Add an “Information” message. The output of the PowerShell command argument -WarningVarible is picked up when using the variable name xWarning. If a warning was issued by preceding PowerShell commands the -LogType “Information” argument will automatically convert into “Warning” and include the value from the $xWarning variable in the message. |
|
Add a “Warning message. |
|
Add an “Error” message. |
|
Add an “Error” message and automatically include any information in the PowerShell Exception Object. |
|
Add an “Information” message and signal NOT to run any of the Components referenced in the Collection. This only has effect in “Script – Before”. |
|
Add an “Information” message and finish the job without running any additional Components. |
The Collection component reacts according to the Component setting for Warning and Error.
Example:Add-xJobLog -LogType "Information" -Message "Something is going on .."
Need more help with this?
DON'T HESITATE TO CONTACT US HERE ..