Walk me through a Bash or PowerShell script you wrote to automate a tedious vulnerability assessment task.