Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Removes scheduling objects such as workflows, schedules etc. from a local Git repository.

SYNTAX

Remove-JS7RepositoryItem [-Path] <String> [[-Type] <String>] [-Local] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [-WhatIf] [-Confirm] [<CommonParameters>]

...

This cmdlet removes scheduling objects such as workflows, schedules etc. from a local Git repository.

The following REST Web Service API resources are used:

* /inventory/repository/delete

PARAMETERS

Path

-Path <String>
Specifies the folder and sub-folders of the scheduling object to be removed.

...

-------------------------- EXAMPLE 1 --------------------------

PS > Remove-JS7InventoryItem JS7RepositoryItem -Path /some_folder/some_sub_folder -Type 'FOLDER'

...

-------------------------- EXAMPLE 2 --------------------------

PS > Remove-JS7InventoryItem JS7ReposioryItem -Path /some_folder/sampleWorkflow -Type 'WORKFLOW'

...