In Windows — Symlink

dir /AL # Lists all reparse points (symlinks, junctions)

Get-ChildItem | Where-Object $_.LinkType -eq "SymbolicLink" Use del (file) or rmdir (directory) — never delete the target. symlink in windows

del my_file_link.txt rmdir my_folder_link In PowerShell: dir /AL # Lists all reparse points (symlinks,