Test in PowerShell code if a folder is a junction point?

Serge van den Oever picture Serge van den Oever · Feb 22, 2010 · Viewed 8.2k times · Source

How can I test in PowerShell code if a folder is a junction point?

Answer

USMCDragon75 picture USMCDragon75 · Jul 24, 2013

If (Get-Item Test Folder).Attributes.ToString().Contains("ReparsePoint"){Code}