Automate batch sorting of multiple files into randomly generated folders using PowerShell or Bash scripts.