$bool = Fs.Delete
Permanently deletes an existing file.
<filename> The file to be deleted.
Returns 1 if successfully deleted, else returns 0.
- It deletes the file completely and permanently from the system. It cannot be retrieved even from the recycle bin.
$src = "C:\Plugins\Delete.doc"
$ret = fs.Delete ($src)