The Clear-Content cmdlet enables you to erase the contents of a file without deleting the file itself. For example, suppose you run this command: