Question: what is mklink in powershell?
Answer: MKLINK isn't an executable that you can just call from PowerShell. You have to call it through the command prompt. cmd /c mklink /D symlink_dir real_dir. Alternatively, you can use this module I wrote that has native PowerShell wrappers for MKLINK. Read about MSLINK on MSDN.