diff --git a/Scripts/iKAT/Invoke-FFmpegCapture/Start-DinaRecording.ps1 b/Scripts/iKAT/Invoke-FFmpegCapture/Start-DinaRecording.ps1 deleted file mode 100644 index f0245b7..0000000 --- a/Scripts/iKAT/Invoke-FFmpegCapture/Start-DinaRecording.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -<# -.SYNOPSIS - Runner script to launch the FFmpeg recording for a specific user and process. -.DESCRIPTION - This script wrapper is designed to be executed by Task Scheduler on the RemoteApp/RDS server. - It calls Start-AppRecording.ps1 with the predefined parameters for the iKAT troubleshooting scenario. -#> - -$ErrorActionPreference = 'Stop' - -# Determine the path to the main recording script located in the same directory -$RecordingScript = Join-Path -Path $PSScriptRoot -ChildPath "Invoke-iKATRecording.ps1" - -# Define the parameters for this specific troubleshooting scenario using splatting -$CaptureParameters = @{ - TargetUser = "dpuerner" # The specific user encountering the issue - OutputDir = "C:\Recordings" # The directory where the .mkv files will be saved - MinFreeSpaceGB = 10 # Ensure at least 10GB of free space before recording - # FFmpegPath = "C:\Scripts\FFmpeg\ffmpeg.exe" # Uncomment and modify if ffmpeg is not in system PATH -} - -if (-not (Test-Path $RecordingScript)) { - Write-Error "Could not find the recording script at: $RecordingScript" - Exit -} - -# Execute the recording script with the parameters -& $RecordingScript @CaptureParameters diff --git a/Scripts/iKAT/Invoke-FFmpegCapture/Start-DinaRecording.vbs b/Scripts/iKAT/Invoke-FFmpegCapture/Start-DinaRecording.vbs deleted file mode 100644 index 971e179..0000000 --- a/Scripts/iKAT/Invoke-FFmpegCapture/Start-DinaRecording.vbs +++ /dev/null @@ -1 +0,0 @@ -CreateObject("WScript.Shell").Run """C:\Program Files\PowerShell\7\pwsh.exe"" -WindowStyle Hidden -ExecutionPolicy Bypass -NonInteractive -File ""C:\PowerShellScripts\Scripts\iKAT\Invoke-FFmpegCapture\Start-DinaRecording.ps1""", 0, False diff --git a/Scripts/iKAT/Invoke-FFmpegCapture/Start-JoeyRecording.ps1 b/Scripts/iKAT/Invoke-FFmpegCapture/Start-JoeyRecording.ps1 deleted file mode 100644 index 01f1664..0000000 --- a/Scripts/iKAT/Invoke-FFmpegCapture/Start-JoeyRecording.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -<# -.SYNOPSIS - Runner script to launch the FFmpeg recording for a specific user and process. -.DESCRIPTION - This script wrapper is designed to be executed by Task Scheduler on the RemoteApp/RDS server. - It calls Start-AppRecording.ps1 with the predefined parameters for the iKAT troubleshooting scenario. -#> - -$ErrorActionPreference = 'Stop' - -# Determine the path to the main recording script located in the same directory -$RecordingScript = Join-Path -Path $PSScriptRoot -ChildPath "Invoke-iKATRecording.ps1" - -# Define the parameters for this specific troubleshooting scenario using splatting -$CaptureParameters = @{ - TargetUser = "admin-jmaffiola" # The specific user encountering the issue - OutputDir = "C:\Recordings" # The directory where the .mkv files will be saved - MinFreeSpaceGB = 1 # Lower threshold for local testing - # FFmpegPath = "C:\Scripts\FFmpeg\ffmpeg.exe" # Uncomment and modify if ffmpeg is not in system PATH -} - -if (-not (Test-Path $RecordingScript)) { - Write-Error "Could not find the recording script at: $RecordingScript" - Exit -} - -# Execute the recording script with the parameters -& $RecordingScript @CaptureParameters diff --git a/Scripts/iKAT/Invoke-FFmpegCapture/Start-JoeyRecording.vbs b/Scripts/iKAT/Invoke-FFmpegCapture/Start-JoeyRecording.vbs deleted file mode 100644 index 2149a9c..0000000 --- a/Scripts/iKAT/Invoke-FFmpegCapture/Start-JoeyRecording.vbs +++ /dev/null @@ -1 +0,0 @@ -CreateObject("WScript.Shell").Run """C:\Program Files\PowerShell\7\pwsh.exe"" -WindowStyle Hidden -ExecutionPolicy Bypass -NonInteractive -File ""C:\PowerShellScripts\Scripts\iKAT\Invoke-FFmpegCapture\Start-JoeyRecording.ps1""", 0, False