Use the Export-TransporterBinary cmdlet for writing Transporter objects to a file with the .tbin extension.

Export-TransporterBinary -TargetFilePrefix <String> [-Confirm <SwitchParameter>] [-MaxThreadCount <UInt32>] [-Quiet <SwitchParameter>] [-TargetFilePath <String>] [-TransporterObject <IAlienDataObject>] [-WhatIf <SwitchParameter>]

Parameters

Parameter

Required

Type

Description

TargetFilePrefix

Required

System.String

The TargetFilePrefix parameter creates one file with the given prefix. By default, if a file with that name already exists, a suffix will be appended based on the current dateTime.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You do not have to specify a value with the Confirm parameter.

MaxThreadCount

Optional

System.UInt32

The MaxThreadCount parameter indicates the maximum number of threads allocated to this task.

Quiet

Optional

System.Management.Automation.SwitchParameter

The Quiet parameter suppresses feedback during task actions.

TargetFilePath

Optional

System.String

The TargetFilePath parameter specifies the name of the directory where TBIN files will be generated. This cmdlet should be executed in the form of one of the following formats:

  • Fully qualified path ["C:\Documents and Settings\username\MyDocuments"] (P1)

  • UNC path [\\server\share] (P2)

  • Relative path to the current directory ["..\exported files"] (P2)

If no path is specified, the files are created in the current directory.

TransporterObject

Optional

Microsoft.Exchange.Transporter.IAlienDataObject

The TransporterObject parameter is the receptacle for iAlienDataObjects of type message from the pipeline.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf parameter.

Detailed Description

The Export-TransporterBinary cmdlet exports data from Transporter objects into the specified TBIN file.

To run the Export-TransporterBinary cmdlet, the account used to run the cmdlet must have Reader or higher access control list (ACL) access to the Domino Directory and write permission to write files to the specified location on the disk.

For related information, see Mail Migration Prerequisites.

Input Types

AlienDataObject

Return Types

In formatted list:

Name: Groups.tbin

Length: 63544

CreationTime: 6/29/2007 3:10:38 PM

LastWriteTime: 6/29/2007 3:10:39 PM

LastAccessTime : 6/29/2007 3:10:39 PM

VersionInfo:

Example

The following code sample for Get-DominoGroup returns a collection of group objects and the Export task writes it into the tbin file with Groups prefix in D:\mailbox\groups.tbin.

  Copy Code
Get-DominoGroup | Export-TransporterBinary -TargetFilePath d:\mailbox -TargetFilePrefix Groups