TL;DR:
wmic /namespace:\\root\cimv2 path win32_userprofile where "SID LIKE 'S-1-5-21%' AND NOT LocalPath LIKE '%-Admin' AND NOT LocalPath LIKE '%\\ToolBox'" delete
Details:
In my head, I translated the question from "delete all folders" and instead made it "remove all user profiles". If that's wrong, feel free to beat me. :-)
I recently had a project where I needed to do the same thing and I used the solution above. The one caveat is that Windows will not remove a profile that is active and currently loaded in memory - and I considered this to be a good thing. In those cases, once the system reboots, the profile is no longer loaded and the 'DELETE' call will work fine. This will not just remove the directories and files, but it will also perform typical profile cleanup work as well.
Please be aware - I know it's redundant, but as this removes profiles, that means files kept in profiles can/will be removed as well. You may wish to backup the files before being deleted.
Look and Report
wmic /namespace:\\root\cimv2 path win32_userprofile where "SID LIKE 'S-1-5-21%' AND NOT LocalPath LIKE '%-Admin' AND NOT LocalPath LIKE '%\\ToolBox'" get LocalPath,LastUseTime,SID
Seek and Destroy
wmic /namespace:\\root\cimv2 path win32_userprofile where "SID LIKE 'S-1-5-21%' AND NOT LocalPath LIKE '%-Admin' AND NOT LocalPath LIKE '%\\ToolBox'" delete