Tried this:
Remove-Item "C:\foo\.svn"
but this is the error that I encountered
Remove-Item : Cannot find path 'C:\foo\.svn' because it does no
t exist.
At line:1 char:12
+ Remove-Item <<<< "C:\foo\.svn"
+ CategoryInfo : ObjectNotFound: (C:\foo\.svn:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
I’m sure one of the gurus has a cleaner way, but this should work: