txhockeyman Posted August 28, 2018 Report post Posted August 28, 2018 Here is script...... Copy-Item "\\fileserver\SCCM\Resources\Laserfiche\Laserfiche.url" -Destination "C:\Users\Public\Desktop" Shortcut never appears. Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted August 28, 2018 Report post Posted August 28, 2018 That is because you are trying to copy the shortcut from a UNC. Since you are using PowerShell, create the shortcut or copy the shortcut from the local folder. Quote Share this post Link to post Share on other sites More sharing options...
0 txhockeyman Posted August 28, 2018 Report post Posted August 28, 2018 Ok, thanks. Strange thing is this stuff has worked before and I ran the script in sccm to my own machine and it worked but not for any other collections or computers. Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted August 28, 2018 Report post Posted August 28, 2018 the script will work as you because you have access to the share. The script will not work from CM as the computer account generally don't have access to network shares. Quote Share this post Link to post Share on other sites More sharing options...
0 txhockeyman Posted August 28, 2018 Report post Posted August 28, 2018 Understand but when running through CM to my machine, it works. I don't think my system has access to the share. I added the computer account to the folder specified in the share....no go either. Quote Share this post Link to post Share on other sites More sharing options...
Here is script......
Copy-Item "\\fileserver\SCCM\Resources\Laserfiche\Laserfiche.url" -Destination "C:\Users\Public\Desktop"
Shortcut never appears.
Share this post
Link to post
Share on other sites