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