Page History
...
Publish-JS7DeployableItem [[-Path] <String>] [[-Type] <String[]>] [[-Folder] <String>] [-Recursive] [-ControllerId] <String> [-Delete] [-Valid] [-NoDraft] [-NoDeployed] [-Latest] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]
...
-Path <String>
Specifies the folder, sub-folder and name of the object, e.g. for example a workflow path.
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByValue, ByPropertyName) |
Accept wildcard characters? | false |
...
-Type <String[]>
Specifies the object type which is one of:
* FOLDER
* WORKFLOW
* JOBCLASSFILEORDERSOURCE
* JOBRESOURCE
* LOCKNOTICEBOARD
* JUNCTIONLOCK * FILEORDERSOURCE
Required? | false | |
Position? | 2 | |
Default value | FOLDER | |
Accept pipeline input? | true (ByPropertyName) | |
Accept wildcard characters? | false |
...
-Folder <String>
Optionally specifies the folder for from which included inventory objects should be published.
This parameter is used alternatively to the -Path parameter that specifies to publish an individual inventory object.
Required? | false | |
Position? | 3 | |
Default value | / | |
Accept pipeline input? | true (ByPropertyName) | |
Accept wildcard characters? | false |
...
-Delete <SwitchParameter>
Specifies the action to permanently delete objects from a Controller. Without this switch objects
are published for use with a Controller.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Valid
-Valid <SwitchParameter>
Limits the scope to valid schedudling objects only.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
PS > Publish-JS7DeployableItem -ControllerId testsuite ,standalone -Path Folder /TestCases/sampleWorkflow_001 -Type 'WORKFLOW'
sampleWorkflows -Recursive
Deploys any scheduling objects such as workflows from the specified folder and any sub-folders to the indicated ControllersDeploys the specified workflow from the indicated path to both Controller instances.
-------------------------- EXAMPLE 2 --------------------------
PS > Publish-JS7DeployableItem -ControllerId testsuite -Path Folder /TestCases/sampleWorkflows -Type 'FOLDER' Recursive -Delete
Deletes the specified folder from the inventory and deletes any included deployable Marks for deletion any scheduling objects such as workflows from the indicated Controller and inventory.
-------------------------- EXAMPLE 3 --------------------------
PS > Publish-JS7DeployableItem -ControllerId testsuite -Folder /PowerShell -Delete
Deletes any deployable objects such as workflows from the specified folder recursivelyspecified folder and any sub-folders. Consider that the specified folder is not deleted but its contents only.
-------------------------- EXAMPLE 4 3 --------------------------
PS > Publish-JS7DeployableItem -ControllerId testsuite,standalone -Path /TestCases/PowerShell sampleWorkflow_001 -Type FOLDER -Delete
'WORKFLOW'
Deploys the specified workflow from the indicated path to both Controller instancesDeletes any deployable objects such as workflows from the specified folder recursively. Consider that the specified folder is not deleted but its contents only.