Page History
...
A number of settings can be specified for example with the JOC Cockpit Settings page and with Identity Services.
This cmdlet allows such settings to store settings be stored programmatically.
Settings include a hierarchy of objects and are available with
$settings,$item = Get-JS7JOCSettings
* $settings: this object holds the original object returned by the REST Web Service API.
* $item: this object holds the PowerShell representation of the configuration items.
Changes should not be applied to $settings, but to $item like this:
$item.cleanup.deployment_history_versions.value = 5;
Settings are stored by pipelining the original $settings object and by using the -Item parameter with the modified $item object like this:
$settings | Set-JS7JOCSettings -Item $item
The following REST Web Service API resources are used:
* /configuration/save
...
-Item <PSObject>
Specifies the PowerShell object of a configuratiom configuration item to be stored.
Required? | true |
Position? | 8 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...