Shell/Bash: powershell remove folder and contents Example

By

Shell/Bash Example: This is the "powershell remove folder and contents" Example. compiled from many sources on the internet by SimpleTutorials.org

powershell remove folder and contents

Remove-Item -LiteralPath "foldertodelete" -Force -Recurse

powershell delete folder

Remove-Item 'D:\temp\Test Folder1'

remove directory powershell

rmdir 

# If you have something (files, other directories etc) in the directory you'll be asked if you want to delete those too.


* Summary: This "powershell remove folder and contents" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others