Tag Archives: PowerShell to Delete Files from the Command Line

How to Delete Files from PowerShell

You can easily delete files from PowerShell by using command “Remove-Item”. This article helps to you how to delete a file this command as below. Just open PowerShell prompt and execute the command. remove-item file-path Example: PS C:\> Remove-Item C:\test\testFile.txt PS C:\> Read Also: How to Shutdown or Reboot Remote Computer from Command Line How… Read More »