Copy or Run EXE from Network Share

by mderreberry at 2013-02-05 10:33:54

I created an exe using winrar that will copy DotNet 4.5 Full to a users PC and install it silently. I did this because I cannot find an msi for 4.5 that would enable me to use group policy. So what I would like to find is a way using powershell to enable an end user to double click on the equivalent of a (batch file - very small file or script) that will run the exe from the network share on their machine without me going to all of them and running the exe myself.

Hope this makes since and thank you for your help.
by DonJ at 2013-02-05 10:37:39


But I would use a BAT file, not PowerShell. You can’t double-click a .PS1 to execute it - deliberate security thing.
by mderreberry at 2013-02-05 11:07:48
Thank You too simple! I was hoping to expand on my PowerShell with this one, oh well maybe next time.