ODMAPI

Hello,

Im just getting started with ODMAPI. Im able to connect and select a project.

Id like to download the accounts associated in a particular collection.

I addition, id like to download the status of Mailboxes, OneDrive, and Desktop agents with all of the fields for a particular collection.

Can anyone show me an example of a script that would do that?

Thank you!

Steve

Parents
  • Hi Steve,

    Objects from collection (use latest public release 2.1.199):
    $CollectionName = "Example"
    $Objects = Get-OdmCollection -WildcardFilter @{name = $CollectionName } | Get-OdmObject -All -IncludeAllProperties -IncludeCollections
    This will contains ACC/MBX/OD/DUA info.

    At Get-OdmObject watch for -TypeOfTeam (Chats, Teams, Groups), need to use only when downloading Teams project objects.
    Another thing is for Public Folders need to use Get-OdmPfPublicFolder command instead of Get-OdmObject.
    Don't forget add -All, otherwise get the first 1000 result only.

  • Jozsef,

    thank you so much for the response.

    This will help me a lot. I had looked at many of the online examples but, couldnt quite figure it out.

    Thank you!

    Steve

Reply Children
No Data