It would be nice to see this same type of approach with PowerShell. Any
ideas if this can be done with PowerShell?
Anybody's help would be much appreciated.
Thanks -
www.powergui.org
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk
You might want to look a little further at PowerGUI for these reasons:
1. You can distribute your scripts, script nodes etc. as a snapin which can be
easily imported into someone's copy of PowerGUI
2. You can organize the scripts into folders, sort of making your own
application collection.
Now I need to go read that HTA article you mentioned. :)
--
Hal Rottenberg
Blog: http://halr9000.com
Webmaster, Psi (http://psi-im.org)
Co-host, PowerScripting Podcast (http://powerscripting.net)
You know what would be really cool?
<html>
<head>
<title>test</title>
<HTA:APPLICATION
APPLICATIONNAME="test"
SCROLL="yes"
SINGLEINSTANCE="yes"
>
</head>
<body>
<script language="PowerShell">
Get-Process
</script>
</body>
</html>
Does anyone know if such a thing is feasible? What kinda code would need to be
written to make this happen, if it is feasible? Big project? Little project?
"Hal Rottenberg" <h...@halr9000.com> wrote in message
news:empZUNH$HHA....@TK2MSFTNGP04.phx.gbl...
"RichS" <Ri...@discussions.microsoft.com> wrote in message
news:166B4DB9-34CD-423E...@microsoft.com...
Just FYI I'd put a script sample here : http://www.psscript.net
illustrating communication between PS and HTA (see new-IENamed.ps1,
PowerShell.HTA and HTA_PowerShell.ps1).
Regards,
--
Jean - JMST
Belgium
Thanks that really helps. This is getting me closer. It would be nice to
be a part of the PowerShell script.
Greg
"Marco Shaw" wrote:
> GregHMI wrote:
> > Thanks Rich! I did look at PowerGUI, I found it great for developing in, but
> > I really wanted something simple that could easily be distributed to an
> > average end user. Almost like VB scripting allows for simple INPUT boxes and
> > then I could invoke the PowerShell script to return that answer.
>
> http://www.primalscript.com/Free_Tools/index.asp
>
> They created an input box.
>
> You can also create something simple from PowerShell directly:
>
> http://www.microsoft.com/technet/scriptcenter/topics/winpsh/convert/inputbox.mspx
>
> There are some other methods too, but a few don't work so well on
> non-Vista (the input box appears *behind* the current shell).
>
> Marco
>
>
> --
> ----------------
> PowerGadgets MVP
> http://www.powergadgets.com/mvp
>
> Blog:
> http://marcoshaw.blogspot.com
>
That information was helpful. Let us know if your approach to the HTA model
gets us further. I wish you the best on your approach. Thanks again.
Greg
"Karl Mitschke" wrote:
> Hello Greg,
>
> > Karl,
> >
> > Thanks for the information. I am not as familar with C# programming,
> > but that is very close to what I was looking for. Perhaps I won't be
> > able to find something like I mentioned in the Technet article:
> > http://www.microsoft.com/technet/scriptcenter/topics/htas/tutorial1.ms
> > px
> >
> > I may need to get more creative and try working with the information
> > you gave me.
> >
> > Thanks -
> >
> > Greg
>
> That link I provided will give you the code you need to place behind the
> hta application in the link you peovided.
>
> I am thinking of changing my whole approach to the hta model, because of
> your link.
>
> Karl
>
>
>
I agree with the HTA solution. That would be great. I guess that is where
I was originally headed, but it doesn't look posible. Thanks for your help.
Greg
That was pretty neat. I appreciate your sharing of that information.
Greg