Skip to content

Commit 65ac58a

Browse files
committed
Remove duplicate CurrentValue declaration
1 parent 2637204 commit 65ac58a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardMalwareFilterPolicy.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ function Invoke-CIPPStandardMalwareFilterPolicy {
201201
}
202202

203203
if ($Settings.report -eq $true) {
204-
$CurrentValue = $CurrentState | Select-Object Name, EnableFileFilter, FileTypeAction, FileTypes, ZapEnabled, QuarantineTag, EnableInternalSenderAdminNotifications, InternalSenderAdminAddress, EnableExternalSenderAdminNotifications, ExternalSenderAdminAddress
205204
$CurrentValue = @{
206205
Name = $CurrentState.Name
207206
EnableFileFilter = $CurrentState.EnableFileFilter

0 commit comments

Comments
 (0)