Need help desperately

Home Forums Messaging Software Exchange 2000 / 2003 Need help desperately

This topic contains 0 replies, has 1 voice, and was last updated by Avatar alcornj 5 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    alcornj
    Member
    #163259

    Hello, thank you for taking the time to read this. I’m trying to write a powershell script that’s going to run on an Exchange 2003 server. I need to read through EVERY users appointment data, and then generate an email containing certain info from the appointment. Apparently this can be done through the CDOEX, but I’m a newbie to powershell and exchange both.

    I found a script that works for Outlook:

    Add-type -assembly “Microsoft.Office.Interop.Outlook” | out-null
    $olFolders = “Microsoft.Office.Interop.Outlook.OlDefaultFolders” -as [type]
    $outlook = new-object -comobject outlook.application
    $namespace = $outlook.GetNameSpace(“MAPI”)
    $folder = $namespace.getDefaultFolder($olFolders::olFolderCalendar)
    $folder.items |
    Select-Object -Property Subject, Start, Duration, Location, Body

    And I need it to do the exact same thing, just for an Exchange 2003 database/server instead of outlook. If anybody could offer me some help, advice, or point me in the right direction I’d appreciate it. Thank you.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.