Deleting

Deleting: Deleting Safely: Remove-Item, -WhatIf and -Confirm.

Updated

  1. Deleting Safely: Remove-Item, -WhatIf and -Confirm (Novice): Remove-Item deletes files and folders with no Recycle Bin to catch them, so you rehearse a delete with -WhatIf, approve each item with -Confirm, and add -Recurse only for a folder you've looked inside.