powershell remove directory and all hidden files recursively code example
Example: powershell remove folder and contents
Remove-Item -LiteralPath "foldertodelete" -Force -Recurse
Remove-Item -LiteralPath "foldertodelete" -Force -Recurse