Name

Get-JS7InventoryChange

SYNOPSIS

Returns Changes from the JOC Cockpit inventory

SYNTAX

Get-JS7InventoryChange [[-Name] <String[]>] [[-State] <String[]>] [[-Owner] <String>] [[-PublishedBy] <String>] [-Detailed] [<CommonParameters>]

DESCRIPTION

Changes are selected from the JOC Cockpit inventory

* by the name of a change,
* by the status of a change,
* by the owner of a change,

Without specifying a change the list of all changes will be returned.

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

The following REST Web Service API resources are used:

* /inventory/changes

PARAMETERS

Name

-Name <String[]>
Optionally specifies the name of a change that should be returned.

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

State

-State <String[]>
Optionally specifies the state of changes that should be returned.

* OPEN
* CLOSED

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

Owner

-Owner <String>
Optionally specifies the owner account of changes that should be returned.

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

PublishedBy

-PublishedBy <String>
Optionally specifies the account that most recently published changes that should be returned.

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

Detailed

-Detailed <SwitchParameter>
Specifies that in addition to changes the related inventory objects will be returned.

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

about_JS7

EXAMPLES

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

PS > $change = Get-JS7Change -Name "CH-TestRepo-01"

Returns the change that is stored with the name "CH-TestRepo-01".

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

PS > $changes = Get-JS7Change

Returns all changes available with the JOC Cockpit inventory.

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

PS > $changes = Get-JS7Change -State OPEN

Returns all open changes.

  • No labels