powershell remove directory if exists code example
Example: remove directory powershell
rmdir <directory_name>
# If you have something (files, other directories etc) in the directory you'll be asked if you want to delete those too.
rmdir <directory_name>
# If you have something (files, other directories etc) in the directory you'll be asked if you want to delete those too.