Hi I made this below gives no error but doesn't work either:
$cm = New-Object -ComObject WScript.Shell
$ls = $cm.CreateShortcut($env:appdata +
"\xxx\xxx\xxx\xxx\xxx\mylink.lnk").TargetPath
What am I doing wrong?
Hi I made this below gives no error but doesn't work either:
$cm = New-Object -ComObject WScript.Shell
$ls = $cm.CreateShortcut($env:appdata +
"\xxx\xxx\xxx\xxx\xxx\mylink.lnk").TargetPath
What am I doing wrong?