Page History
...
Import-JS7InventoryItem [-FilePath] <String> [[-Format] <String>] [[-TargetFolder] <String>] [[-Prefix] <String>] [[-Suffix] <String>] [-Overwrite] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]
...
Required? | false |
Position? | 3 |
Default value | / |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Prefix
-Prefix <String>
Specifies a prefix - followed by a dash - to be prepended to object names in case that a target object
with the same name exists and that the -Overwrite switch has not been used.
If an object with the same name including the prefix exists then a unique name is created from an
incremental number that is inserted between the prefix and the dash.
Required? | false |
Position? | 4 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Suffix
-Suffix <String>
Specifies a suffix - preceded by a dash - to be appended to object names in case that a target object
with the same name exists and that the -Overwrite switch has not been used.
If an object with the same name including the suffix exists then a unique name is created from an
incremental number that is inserted between the suffix and the dash.
If both -Prefix and -Suffix parameters are specified then the -Prefix parameter is ignored.
Required? | false |
Position? | 5 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Overwrite
-Overwrite <SwitchParameter>
Specifies that existing objects in the JOC Cockpit inventory will be overwritten
from objects with the same path in the 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 enforce Audit Log comments for any interventions.
Required? | false |
Position? | 46 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-AuditTimeSpent <Int32>
Specifies the duration in minutes that the current intervention required.
This information is visible with the Audit Log view. It can be useful when integrated
with a ticket system that logs the time spent on interventions with JobScheduler.
Required? | false |
Position? | 57 |
Default value | 0 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-AuditTicketLink <Uri>
Specifies a URL to a ticket system that keeps track of any interventions performed for JobScheduler.
This information is visible with the Audit Log view of JOC Cockpit.
It can be useful when integrated with a ticket system that logs interventions with JobScheduler.
Required? | false |
Position? | 68 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
PS > Import-JS7InventoryItem -Folder /some_folder import -FilePath /tmp/export.tar.gz -Format TAR.GZ -Overwrite
...