this is the command that I use in my scripts to get the reference file with the full path:
$shell = New-Object -ComObject WScript.Shell; $shortcut = $shell.CreateShortcut("C:\Users\Public\Desktop\YOURLINK.lnk"); $shortcut.TargetPath