Attach-RMELotusDB
From PowerGUI Wiki
Establishes a connection to the specified Lotus Domino database.
Contents |
Syntax
Attach-RMELotusDB [-NsfPath] <String> [<CommonParameters>]
Detailed Description
The Attach-RMELotusDB cmdlet establishes a connection to the Lotus Domino database (.nsf file) you specify.
Related Commands
Parameters
| Name | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|
| NsfPath | Specifies the path to the Lotus Domino database (.nsf file) you want to connect to. | true | true (ByValue, ByPropertyName) |
Examples
Example 1
Attach-RMELotusDB "C:\Data\Nsf" | Get-RMEMessage -SearchIn Subject, Body -Text "test" | Export-RMEMessage -ExportPath "C:\Data\Exported\Eml" -Type Eml
The Attach-RMELotusDB cmdlet connects to all Lotus Notes databases (.nsf files) found in the "C:\Data\Nsf" folder. The .nsf file objects are then piped to the Get-RMEMessage cmdlet that retrieves all messages whose subject or body includes the word "test". The retrieved message objects are then piped to the Export-RMEMessage cmdlet that saves each message as an .eml file in the "C:\Data\Exported\Eml" folder.
