Technorati Tags: System.IO.Directory , Create , Delete < # .SYNOPSIS This example shows how to create a new directory and subdirectory, and then delete only the subdirectory. .DESCRIPTION This sample is a re-write of an MSDN Sample, but in PowerShell. The sample firsts creates then removes a folder then looks to see what is left. The target folder is removed, but… Read the full text.