Professional Documents
Culture Documents
# This script creates a CSV file with results in the path specified.
#
###################################################################################
###########
#
# This script is not officially supported by Microsoft, use it at your own risk.
# Microsoft has no liability, obligations, warranty, or responsibility regarding
# any result produced by use of this file.
#
###################################################################################
###########
#
# Syntax for running this script:
#
# .\Find-CalendarItems.ps1 -Mailbox <SMTP address> -Subject <Subject> -OutputPath
<outputPath>
#
# Example:
#
# .\Find-CalendarItems.pst -Mailbox jim@contoso.com -Subject meetingSubject
-OutputPath c:\Temp
#
###################################################################################
###########
#
param(
[Parameter(Mandatory = $true)] [string] $Mailbox = "",
[Parameter(Mandatory = $true)] [string] $Subject = "",
[Parameter(Mandatory = $false)] [string] $OutputPath = ""
)
#Clear-Host