PowerShell: Create File Symbolic Link, Hard Link, Junction

By Xah Lee. Date: .

Create a Symbolic Link

New-Item -ItemType SymbolicLink -Path "name" -Value "destinationPath"

Create a Hardlink

New-Item -ItemType HardLink -Path "name" -Value "destinationPath"

Create a Junction

New-Item -ItemType Junction -Path "name" -Value "destinationPath"

PowerShell, Working on Files

PowerShell: Create New File/Dir