Skip to content

Commit

Permalink
alias
Browse files Browse the repository at this point in the history
  • Loading branch information
soulemike committed Aug 7, 2024
1 parent af516bb commit f36093b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Test-MtCisaDlpBaselineRule {
}

# This is a really slow call
$rules = $resultPolicies | foreach {
$rules = $resultPolicies | ForEach-Object {
Get-DlpComplianceRule -Policy $_.Name
}

Expand Down
2 changes: 1 addition & 1 deletion powershell/public/cisa/exchange/Test-MtCisaDlpPii.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Test-MtCisaDlpPii {
}

# This is a really slow call
$rules = $resultPolicies | foreach {
$rules = $resultPolicies | ForEach-Object {
Get-DlpComplianceRule -Policy $_.Name
}

Expand Down

0 comments on commit f36093b

Please sign in to comment.