Powershell - Create Symbolic Link
Open PowerShell as Administrator, then run
1
2
3
4
New-Item -ItemType SymbolicLink `
-Path "C:\Program Files\WindowsPowerShell\Modules\CustomHelperUtils" `
-Target "C:\path\to\gitrepos\utils\powershell\CustomHelperUtils"
Output should be:
1
2
3
4
5
6
7
Verzeichnis: C:\Program Files\WindowsPowerShell\Modules
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----l 04.05.2022 07:14 CustomHelperUtils
This post is licensed under CC BY 4.0 by the author.