From b0ac279d611ba4646ad25f76296da199129ef2f3 Mon Sep 17 00:00:00 2001 From: bk-cs <54042976+bk-cs@users.noreply.github.com> Date: Fri, 3 Sep 2021 08:37:57 -0700 Subject: [PATCH] v2.1.3 --- Public/psfalcon.ps1 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Public/psfalcon.ps1 b/Public/psfalcon.ps1 index 75c8ed6c..15627499 100644 --- a/Public/psfalcon.ps1 +++ b/Public/psfalcon.ps1 @@ -3,13 +3,6 @@ function Export-FalconReport { param( [Parameter(Position = 1)] [ValidatePattern('\.csv$')] - [ValidateScript({ - if (Test-Path $_) { - throw "An item with the specified name $_ already exists." - } else { - $true - } - })] [string] $Path, [Parameter(Mandatory = $true, ValueFromPipeLine = $true, Position = 2)]