Versions Compared

Key

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

...

Get-JS7RepositoryItem

SYNOPSIS

Returns ites a list of scheduling objects from a JS7 Repositorylocal Git repository

SYNTAX

Get-JS7RepositoryItem [-Folder] <String> [-Recursive] [-Local] [<CommonParameters>]

DESCRIPTION

A list of scheduling objects such as workflows etc. are returned from a local Git repositoryItems are selected from a JS7 Repository

* by the category for LOCAL or ROLLOUT scheduling objects,
* by the folder of the item location optionally including sub-folders,.

Resulting items can be forwarded to other cmdlets for pipelined bulk operations.

The following REST Web Service API resources are used:

* /inventory/repository/read

PARAMETERS

Folder

-Folder <String>
Specifies the repository folder for which items should be returned.

...

-Recursive <SwitchParameter>
Specifies that any all sub-folders should be looked up if the -Folder parameter is used.
By default no sub-folders will be looked up.

...

PS > $items = Get-JS7RepositoryItem -Folder /testsamples

Returns all items available with a repository of category ROLLOUT.

...

PS > $items = Get-JS7RepositoryItem -Folder /some_path samples -Recursive

Returns all items available from the folder "/some_pathsamples" folder including any sub-folders from a repository of category ROLLOUT.

...

PS > $items = Get-JS7RepositoryItem -Folder /test/globals/workflow1 samples/some_sub_folder -Local

Returns the items for scheduling objects that a are local to an the scheduling environment from the indicated folder "/test/globals".