From ebb11455cd9ad0df71fdb6e3cf484a1256c613ef Mon Sep 17 00:00:00 2001 From: Rephl3x Date: Wed, 24 Sep 2025 03:00:53 +0000 Subject: [PATCH] This will read a csv folder of users and set their passwords to reset on next logon. --- Warden.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Warden.ps1 b/Warden.ps1 index 49b493a..f1b0681 100644 --- a/Warden.ps1 +++ b/Warden.ps1 @@ -149,5 +149,6 @@ Write-Output "The original CSV file has been renamed to $newFilePath." # Open the folder containing the renamed CSV file Start-Process -FilePath "explorer.exe" -ArgumentList "/select,`"$newFilePath`"" + # Clear all variables from active memory Remove-Variable -Name form, label, label2, textBox, browseButton, acceptButton, cancelButton, csvPath, userList, destinationPath, todaysDate, outputCsvPath, originalFileName, originalFileExtension, directory, newFileName, newFilePath -ErrorAction SilentlyContinue \ No newline at end of file