View Single Post
Old 04-17-2008   #6 (permalink)
Marco Shaw [MVP]
Guest


 

Re: Executing PS1 files by double clicking on them

greatbarrier86 wrote:
Quote:

> I need some advice. Occasionally, some of my scripts are run by the
> technician manually and are not automatically invoked. In the case of
> powershell files, i am using either a VBS file or a BAT file to invoke the
> PS1 file because PS1s are designed to open with notepad by default. Can
> anyone offer me some advice as to a way that would allow the tech to just
> execute the PS1 file by clicking on it?
There is another way, I'm just not interested in making it public with
my name attached to it... ;-)

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com