Powershell Remove-Item and symbolic links

Let’s say you’ve got a symbolic link which points to another folder and you want to delete the symbolic link through Powershell. Prepare for some weird stuff! Consider the following test script: New-Item “SymbolicTest” -Type Directory Set-Location “SymbolicTest” New-Item “Source” -Type Directory Set-Location “Source” New-Item “Test1.txt”  -Type File New-Item “Test2.txt”  -Type File New-Item “Test3.txt”  -Type File Set-Location “../” […]