ساخت لینک Junction با PowerShell در ویندوز 10
Create Junction Point to Directory in PowerShell
2 Type the command below into the elevated PowerShell, and press Enter. (see screenshot below)
New-Item -ItemType Junction -Path "Link" -Target "Source Target"
Substitute Link in the command above with the full path of a folder (directory) you want created as a hard link at.
Substitute Source Target in the command above with the full path of the existing folder (directory) that is the target (source) you want the hard link pointing to. This is the actual location where everything will be saved at.
For example: New-Item -ItemType Junction -Path "C:\Program Files\Mozilla Firefox" -Target "D:\Mozilla Firefox"
3 When finished, you can close the elevated PowerShell if you like.
https://aparat.com/v/BoHFT