Skip to content

Commit e0b3b3f

Browse files
committed
Add message on search creation
Let the user the know the new search is pending creation
1 parent 347f24d commit e0b3b3f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sharkphin.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ function Get-SearchFromUser {
9090
#Combine the email address and the subject into one string
9191
$InputMatchQuery="(From:"+$InputPhishSenderName+") AND (Subject:`""+$InputPhishSubject+"`")"
9292

93+
Write-Host "Building search..."
94+
9395
#Create a Content Search to find the message
9496
$Search=New-ComplianceSearch -Name $ContentSearchName -ExchangeLocation All -ContentMatchQuery $InputMatchQuery
9597

0 commit comments

Comments
 (0)