Page History
...
-Type <String>
Specifies the object type which is one of:
* WORKFLOW
* JOBCLASS
* LOCK
* JUNCTION
* FILEORDERSOURCE
* WORKINGDAYSCALENDAR
* NONWORKINGDAYSCALENDAR
* SCHEDULE
...
PS > Add-JS7InventoryItem -Path /some/directory/sampleLock -Type 'LOCK' -Item ( '{ "limit": 1 }' | ConvertFrom-Json )
On-the-fly adds a resource lock to the invnetory. The JSON document for the resource lock is specified with the -Item parameter.
-------------------------- EXAMPLE 2 --------------------------
PS > Add-JS7InventoryItem -Path /some/directory/sampleLock -Type 'LOCK' -Item (Get-Content /tmp/myForkExample.workflow.json -Raw)
Reads a resource lock from a file and adds it to the invnetoryRead the worfklow configuration from the given file and store the workflow with the specified path.