Skip to content

Commit 1f3e291

Browse files
committed
Update Start-HawkUSerInvestigation to call the three new functions.
1 parent 5e519ce commit 1f3e291

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Hawk/functions/User/Start-HawkUserInvestigation.ps1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,24 @@
169169
Get-HawkUserInboxRule -User $User
170170
}
171171

172+
if ($PSCmdlet.ShouldProcess("Running Get-HawkUserUALInboxRuleCreation for $User")) {
173+
Write-Output ""
174+
Out-LogFile "Running Get-HawkUserUALInboxRuleCreation." -Action
175+
Get-HawkUserUALInboxRuleCreation -User $User
176+
}
177+
178+
if ($PSCmdlet.ShouldProcess("Running Get-HawkUserUALInboxRuleModification for $User")) {
179+
Write-Output ""
180+
Out-LogFile "Running Get-HawkUserUALInboxRuleModification." -Action
181+
Get-HawkUserUALInboxRuleModification -User $User
182+
}
183+
184+
if ($PSCmdlet.ShouldProcess("Running Get-HawkUserUALInboxRuleRemoval for $User")) {
185+
Write-Output ""
186+
Out-LogFile "Running Get-HawkUserUALInboxRuleRemoval." -Action
187+
Get-HawkUserUALInboxRuleRemoval -User $User
188+
}
189+
172190
if ($PSCmdlet.ShouldProcess("Running Get-HawkUserEmailForwarding for $User")) {
173191
Write-Output ""
174192
Out-LogFile "Running Get-HawkUserEmailForwarding." -Action

0 commit comments

Comments
 (0)