Junctions with PowerShell

Junctions are really useful.

It pretty easy to create them inside a command shell on windows:

But as it is a command inside cmd.exe and not a executable you cannot use mklink from PowerShell without calling cmd.exe

BUT: the New-Item cmdlet supports options to achieve the same since Windows Management Framework v.5.

Comments are closed