View Single Post
Old 04-17-2008   #7 (permalink)
greatbarrier86


 
 

Re: Executing PS1 files by double clicking on them

What? Huh? Damn...well if you were to tell me, how would i have to go about
asking?

"Marco Shaw [MVP]" wrote:
Quote:

> 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
>
My System SpecsSystem Spec