Here be dragons. Use with extreme caution.
This script is designed to accept namespaces as a list of arguments and will perform a namespace child resource delete loop before terminating the namespace and any finalizers.
Having Google'd the classic StackOverflow Deleted Namespace Stuck In Pending question for the five thousandth time I decided to make this a script in a gist.
Ooh, thank you for the tip @v0lkan if I run into it I'll make a point to incorporate this technique into the script as well. Awesome stuff!