Search notes:
PowerShell cmdLet clear-content
clear-content $env:temp\foo.txt clear-content -path $env:temp -filter *.txt -force
See also
Powershell command noun: content
Index