Powershell Tip #83: Clear/Empty the content of a file By powershellgu | December 2, 2015 0 Comment Tip: You can empty / clear the content of a file : PowerShell Clear-Content -Path C:\demo\test.txt 1 Clear-Content -Path C:\demo\test.txt