How do I create a Symbolic Link in PowerShell?

Problem:

How do I create a Symbolic Link in PowerShell?

Solution:

New-Item -Path C:\NetworkDataHere -ItemType SymbolicLink -Value \\Server\PathToNetworkData -force  

 

Be sure to add the below permissions in secpol.msc too or this wont work:

How do I create a Symbolic Link in PowerShell

Leave a Reply

Your email address will not be published. Required fields are marked *