Skip to content

$cs.File\_DelTree

$cs.File_DelTree(string path)

Deletes a directory if it exists.

path

Path to remove

Terminal window
$cs.File_DelTree("$env:ProgramData\Notepad++")

returns nothing