Last active
April 3, 2018 23:49
-
-
Save derozic/e72d26239414402b11549ae895e9fdf9 to your computer and use it in GitHub Desktop.
rm -rf equivalent in PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -force .\billygdepr\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't monkey around with the RemoveItem nonsense and no, you don't get the same fun flags you get in Linux. This one just seems to work. Oh and auto-complete works, you just need to more completely type, otherwise it guesses poorly instead of providing you with options. It will let it reformat to .\directoryname. This is to delete a folder on windows using PowerShell, be sure to right click and "Run as Administrator"