Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Set-PinnedApplication -Action "PintoTaskBar" for all users

$
0
0
Hi,

I am configuring an Office 2013 installation package, and am having issues with pinning shortcuts to the taskbar for the currently logged in user.

I can't get it to work via the OCT shortcuts route so have been trying from within the Deploy-Application.ps1, running this command:
Set-PinnedApplication -Action "PintoTaskBar" -FilePath "$envProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2013\Outlook 2013.lnk" 
How do I run this line in the currently logged in users context rather than the admin user I'm running the script as please ? Its currently creating the shortcut only in the admin users taskbar.

Many Thanks.

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>