Get Outlook Contact
Zuletzt geändert: 20.03.2026 21:17

Get-OutlookContact #

ÜBERSICHT #

Sucht einen Outlook-Kontakt anhand der EULANDA Open Extension.

SYNTAX #

Get-OutlookContact [-Token] <string> [-KontaktId] <int> [-KontaktUid] <string> [[-FolderId]
    <string>] [[-UserEmail] <string>] [<CommonParameters>]

BESCHREIBUNG #

Durchsucht einen Outlook-Kontaktordner nach einem Kontakt, der über die Open Extension “com.eulanda.contact” mit einer bestimmten KontaktId oder KontaktUid verknüpft ist. Gibt das Kontakt-Objekt zurück oder $null.

PARAMETER #

-Token #

Type: string

Bearer-Token für die Graph API (von Get-GraphToken).

-KontaktId #

Type: int

EULANDA Kontakt-ID (numerisch).

-KontaktUid #

Type: string

EULANDA Kontakt-UID (GUID).

-FolderId #

Type: string

ID des Kontaktordners. Wenn nicht angegeben, wird im Standard-Ordner gesucht.

-UserEmail #

Type: string

E-Mail-Adresse des Postfachs (nur Service-Flow).

AUSGABEN #

pscustomobject

Das Outlook-Kontakt-Objekt oder $null.

BEISPIELE #

$contact = Get-OutlookContact -Token $token -KontaktId 42
$contact = Get-OutlookContact -Token $token -KontaktUid 'a1b2c3d4-...' -FolderId $folderId