Versions Compared

Key

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

...

Export-JS7InventoryItem [[-Path] <String>] [[-Type] <String[]>] [[-Folder] <String>] [-Recursive] [-Releasable] [-Deployable] [-ReleasedWithoutDrafts] [-WithoutReleased] [-WithoutDeployed] [-DeployedLatest] [-Valid] [-WithoutRemoved] [-ForSigning] [[-ControllerId] <String>] [[-FilePath] <String>] [[-ArchiveFormatFormat] <String>] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]

...

-Type <String[]>
Optionally restricts the object type to export which is one of:

* Deployable Object Types
** WORKFLOW
** JOBCLASS
** LOCK
** JUNCTION
* Releasable Object Types
** WORKINGDAYSCALENDAR
** NONWORKINGDAYSCALENDAR
** SCHEDULE
* Any Object Types
** FOLDER

The -Type parameter can be used to restrict either deployable or releasable object types to be exported.
Without specifying this parameter objects of any type within the areas of releasable or deployable objects are exported
depending on use of the -Releasable and -Deployable parameters.

...

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

...

WithoutDrafts

-Released WithoutDrafts <SwitchParameter>
Specifies that no draft versions of the releasable or deployable objects will be exported but only released/deployed versions.
Without this parameter the unreleased draft version of the inventory objects object will be exported or the latest released version if available.

If this switch is in place then depending on the presence of the -Latest parameter for deployable objects either the the latest
deployed version or depending on availability.

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

...

WithoutReleased

-Deployed WithoutReleased <SwitchParameter>
Specifies that no released versions of the releasable objects will be exported but only draft versions if available.
Without this parameter any draft versions and released versions of inventory objects will be exported.

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

WithoutDeployed

-WithoutDeployed <SwitchParameter>
Specifies that no deployed versions of versions of the deployable objects will be exported but only deployed draft versions.
Without this parameter the undeployed draft version of the inventory object will be exported or the latest deployed version depending on availability. if available.

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

Latest

-Latest <SwitchParameter>

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

...

-Valid <SwitchParameter>
Specifies that only valid versions of inventory draft objects are eligible for export. Only draft versions of
inventory objects can be invalid, any deployed or relased versions of inventory objects are valid
This applies to releasable and to deployable objects.
Without this parameter draft versions can will be exported that are in progress and therefore are not validatedvalid.

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

...

-WithoutRemoved <SwitchParameter>
Optionally specifies that no removed objects are should be added to the export file. Such objects are marked for deletion, however,
deletion has not yet been confirmed by a deploy/release operation that permanently erases objects.

...

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

...

Format

-ArchiveFormat Format <String>
Specifies the type of the archive file that will be returned: ZIP, TAR._GZ.

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

...

Exports all inventory objects to a zipped octet-stream that is written to a file. This includes deployable and releasable inventory objects. By default draft versions are used instead of and deployed or released versions . If no draft version exists then the latest deployed or released version is are used.

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

PS > Export-JS7InventoryItem -Folder /some_folder -FilePath /tmp/export.tar.gz -ArchiveFormat Format TAR._GZ

Exports any objects from the given folder to a compressed tar file.

...