How to delete all the file contents using PowerShell? code example Example: how to delete a file using powershell Remove-Item "path/filename.extension"