I want to delete all text files in a given folder and I think this will do the trick
Remove-Item "C:\MyTemp\*.txt"
I also noticed that piping Get-ChildItem to get-Members shows the Delete method.
Which one should I use? (If it is Delete, an example showing how to use the method would be appreciated).
TIA,
edm2