how to clear the text in file using powershell code example Example: how to delete a file using powershell Remove-Item "path/filename.extension"