Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Modules and Runonce

$
0
0

Hi,

I have a logon script that pin icons in the taskbar for users.

The code for pinned icons use a module PinnedApplication.psm1.

I have 4 servers for user connection so i have 2 questions :

- The psm1 and the logon script is on my DC, do i need to import the module on each servers for user connection ? actually, it is on %windir%\system32\WindowsPowerShell\v1.0\Modules

- I would like to run the PIN script only the first time the connect, because they could personilize their taskbar later. How can i runonce a powershell script ?

 

Thanks you 


Viewing all articles
Browse latest Browse all 8411

Trending Articles