< Back

Search-MailDate

Tue Jan 14, 2020 12:54 am

NAME Search-MailDate



SYNOPSIS

Search a users mailbox by day





SYNTAX

Search-MailDate [[-Identity] <String>] [[-Start] <DateTime>] [[-End] <DateTime>] [-Delete] [[-ResultTarget]

<String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Identity <String>



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Start <DateTime>



Required? false

Position? 2

Default value (Get-date).Date

Accept pipeline input? false

Accept wildcard characters? false



-End <DateTime>



Required? false

Position? 3

Default value $Start.addDays(1).Date

Accept pipeline input? false

Accept wildcard characters? false



-Delete [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ResultTarget <String>



Required? false

Position? 4

Default value $env:username

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



Search-MailDate -Identity <searchTarget>



RunspaceId : xxxxxxxx-0000-1111-aaaa-1234abcd5678

Identity : Domain/Name/Users/Group/searchTarget

DisplayName : searchTarget

TargetMailbox : Domain/Name/Users/Group/resultTarget

TargetPSTFile :

Success : True

TargetFolder : \\Search\\searchTarget-19/10/2016 15:03:48

ResultItemsCount : 29

ResultItemsSize : 18.83 MB (19,742,786 bytes)











RELATED LINKS