You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Name

Get-JS7RepositoryItem

SYNOPSIS

Returns ites from a JS7 Repository

SYNTAX

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

DESCRIPTION

Items 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.

PARAMETERS

Folder

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

Required?true
Position?1
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

Recursive

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

Required?false
Position?named
Default valueFalse
Accept pipeline input?false
Accept wildcard characters?false

Local

-Local <SwitchParameter>
Specifies that a repository holding local scheduling objects should be used.
This corresponds to the LOCAL category. If this switch is not used then then
ROLLOUT category is assumed for a repository that holds scheduling objects
intended for rollout to later environments such as test, prod.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

about_JS7

EXAMPLES

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

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

Returns all items available with a repository of category ROLLOUT.

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

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

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

-------------------------- EXAMPLE 3 --------------------------

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

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

  • No labels