del

Delete one or more files. In PowerShell, this command is an alias of Remove-Item. This documentation is based on the Command Prompt (cmd) version of del. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/del.

tldr remove-item

del file_pattern1 file_pattern2 ...

del file_pattern /p

del file_pattern /f

del file_pattern /s

del file_pattern /q

del /?

del file_pattern /a attribute