Skip to content

Get-MailboxLostAndFound

SYNOPSIS

Retrieve mailbox folders matching a specific search term.

SYNTAX

Get-MailboxLostAndFound [-Zoekterm] <String> [-Gebruiker] <Object> [[-Parameters] <Object>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

The `Get-MailboxLostAndFound` function retrieves mailbox folders that match a specific search term. It can search for folders in mailboxes of individual users or groups and supports filtering by additional parameters.

EXAMPLES

EXAMPLE 1

Get-MailboxLostAndFound -Zoekterm "LostAndFound" -Gebruiker "[email protected]"

Retrieves mailbox folders matching the term `LostAndFound` for the user `user@example.com`.

EXAMPLE 2

Get-MailboxLostAndFound -Zoekterm "LostAndFound" -Gebruiker "GroupName"

Retrieves mailbox folders matching the term `LostAndFound` for all members of the group `GroupName`.

EXAMPLE 3

Get-MailboxLostAndFound -Zoekterm "LostAndFound"

Retrieves mailbox folders matching the term `LostAndFound` for all users with proxy addresses.

PARAMETERS

-Zoekterm

The search term to match against mailbox folder identities.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Gebruiker

The user or group to search for mailbox folders. If not specified, all users with proxy addresses are searched.

Type: Object
Parameter Sets: (All)
Aliases: Groep

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Parameters

An array of properties to include in the output. Defaults to `Identity` and `Date`.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: @("Identity", "Date")
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES