none
Connectivity with lotus Notes RRS feed

  • Question

  • Hi All,

    I am new to power shell. I have been working into notes since 3 years.

    I an trying to connect Lotus Notes thru Power Shell using below code:

    $DomSession = New-Object -ComObject Lotus.NotesSession

    $DomDatabase = $DomSession.GetDatabase($Server,$Path)

    $Title = $DomDatabase.Title

    [void][System.Windows.Forms.MessageBox]::Show($Title,"Database Title")

    But I am getting below error

    ERROR: Exception calling "GetDatabase" with "2" argument(s): "Session has not been initialized"

    Please help me, I have search online but didnt find anything.

    Thanks in Advanced


    • Edited by Kamgaar Tuesday, June 10, 2014 12:51 PM
    Tuesday, June 10, 2014 12:48 PM