How can I test in PowerShell code if a folder is a junction point?
If (Get-Item Test Folder).Attributes.ToString().Contains("ReparsePoint"){Code}