In PowerShell, I need resolve the target path of a junction (symlink).
for example, say I have a junction c:someJunction
whose target is c:emparget
I tried variations of $junc = Get-Item c:someJunction
, but was only able to get c:someJunction
How do I find the target path of the junction, in this example c:emparget
, of a given junction?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…