Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 913
Serge van den Oever Avatar asked Feb 22 '10 13:02

Serge van den Oever


1 Answers

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

like image 165
USMCDragon75 Avatar answered Nov 15 '22 08:11

USMCDragon75