Use the Get-NotesPAB cmdlet to retrieve the data stored in a Notes personal address book (PAB).

Get-NotesPAB -SourceFileName <String> -DominoMailDomain <String> [-ContentOwner <String>] [-MaxThreadCount <UInt32>] [-NotesIniPath <String>] [-Quiet <SwitchParameter>] [-SourceCredential <PSCredential>] [-SourceMapping <String>]

Parameters

Parameter

Required

Type

Description

DominoMailDomain

Required

System.String

The DominoMailDomain parameter specifies the Domino mail domain that should be associated with the extracted mail items.

SourceFileName

Required

System.String

The SourceFileName parameter is the name of the file to be extracted. This name should be provided in one of the following formats:

  • Fully qualified path

  • UNC path

  • Relative path to the current directory

ContentOwner

Optional

System.String

The ContentOwner parameter specifies the e-mail address of the person to whom this content belongs. This parameter is necessary for any content that you expect to move to an Exchange server and must match the proxy address of an existing Active Directory user.  Example: Mike Jones/contoso@contoso, MikeJ@contoso.com

MaxThreadCount

Optional

System.UInt32

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

NotesIniPath

Optional

System.String

The NotesIniPath parameter specifies the path to the local Notes.INI file including filename.

Quiet

Optional

System.Management.Automation.SwitchParameter

The Quiet parameter suppresses feedback during task actions.

SourceCredential

Optional

System.Management.Automation.PSCredential

The SourceCredential parameter specifies the PSH credential object consisting of the Notes ID file and password.

SourceMapping

Optional

System.String

The SourceMapping parameter specifies a custom mapfile that defines how the attributes in the object schema will be mapped from the source schema.

Detailed Description

The Get-NotesPAB cmdlet retrieves the data stored in Notes PABs.

To run the Get-NotesPAB cmdlet, the account you use must have Read rights to Active Directory directory service and Reader access in each Domino application's access control list (ACL).

Input Types

None

Return Types

Message.contact

Example

The following sample code will execute the Get-NotesPAB cmdlet and gets the contacts from names.nsf.

  Copy Code
Get-NotesPAB -SourceFileName names.nsf -ContentOwner MikeJ@contoso.com