New-Item -Path "C:\Users\YourName\Desktop\report.pdf" -ItemType SymbolicLink -Target "D:\Work\report.pdf"
A symbolic link (or symlink) is a special file that "points" to another file or directory. Think of it as an advanced shortcut that works seamlessly with the operating system and most software, appearing as if the linked file or folder actually exists in that location. how to create symbolic link windows
mklink "C:\Users\YourName\Desktop\shortcut.txt" "D:\Documents\original.txt" New-Item -Path "C:\Users\YourName\Desktop\report
New-Item -Path "link_path" -ItemType SymbolicLink -Target "target_path" For a file: how to create symbolic link windows