Versions Compared

Key

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

...

Import-JS7InventoryItem

SYNOPSIS

import Import inventory objects, e.g. workflows, schedules etc. from a JOC Cockpit export archive file

SYNTAX

Import-JS7InventoryItem [-FilePath] <String> [[-ArchiveFormat] <String>] [[-Folder] <String>] [-Overwrite] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]

...

JOC Cockpit inventory items can be exported with the Export-JS7InventoryItem cmdlet. The export archive file
created by the cmdlet can be imported by use of this cmdlet. This offers a mechanism to backup and to
restore inventory datedata, e.g. in case of switching the DBMS for JOC Cockpit or when upgrading to newer
JS7 releases.

...

-ArchiveFormat <String>
Specifies the type of the archive file that will be imported: ZIP, TAR.GZ. If the -FilePath parameter is specified then the extension of the file name will be used for the file type.

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

...

-Overwrite <SwitchParameter>
Specifies that existing objects in the JOC Cockpit invetory inventory will be overwritten
from objects with the same path in the export archive file.

Without this parameter objects from the import file are ignored if objects with the same path
exist in the JOC Cockpit inventory.

...

-AuditComment <String>
Specifies a free text that indicates the reason for the current intervention, e.g. "business requirement", "maintenance window" etc.

The Audit Comment is visible from the Audit Log view of JOC Cockpit.
This parameter is not mandatory, however, JOC Cockpit can be configured to enforece enforce Audit Log comments for any interventions.

...