Author Posts

January 1, 2012 at 12:00 am

by gbritton at 2013-05-08 12:32:42

I need a way to do the equivalent of a Unix/Linx rm -rf
command on a given directory. I want to blow away the directory, all of its subdirectories and all files found therein. There may be read-only, hidden and/or system files that also need to be erased.

What is the correct PowerShell method to do that?