Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

PowerShell and UI elements

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-11-2007   #1 (permalink)
bill
Guest


 

PowerShell and UI elements

Does PowerShell provide, "out of the box", dialog boxes, drop down menus, etc
like full-fledged Windows applications? Or is the interface limited to the
command line?


Thanks,

Bill

My System SpecsSystem Spec
Old 01-11-2007   #2 (permalink)
Maximilian Hänel
Guest


 

Re: PowerShell and UI elements

Hi bill,

> Does PowerShell provide, "out of the box", dialog boxes, drop down menus, etc
> like full-fledged Windows applications? Or is the interface limited to the
> command line?


PS does not provide any UI widgets but you can use the .NET classes in
the System.Windows.Forms namespace. But IMHO it's a little contradictory
in the context of a command line.
So just to give you a clue:

0:10 >[Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
0:12 > [Windows.Forms.MessageBox]::Show("Hi bill!")
OK

hth

Max
My System SpecsSystem Spec
Old 01-11-2007   #3 (permalink)
Andrew Watt [MVP]
Guest


 

Re: PowerShell and UI elements

Bill,

Max has pointed you to the basics of how you can use Windows Forms
from PowerShell scripts (or the command line).

In the other direction, you can create a GUI application to produce
PowerShell commands. The Exchange 2007 team have done that so that the
Exchange Management Console produces PowerShell commands under the
cover.

However, there are no "PowerShell" GUI components out of the box which
is what I think your original question focussed on. So the interface
is essentially the command line and scripts.

Andrew Watt MVP

On Thu, 11 Jan 2007 10:44:02 -0800, bill
<bill@discussions.microsoft.com> wrote:

>Does PowerShell provide, "out of the box", dialog boxes, drop down menus, etc
>like full-fledged Windows applications? Or is the interface limited to the
>command line?
>
>
>Thanks,
>
>Bill

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe Photoshop Elements 6 & Adobe Premiere Elements 4 Jorge131 Vista music pictures video 12 05-27-2008 08:54 PM
Can't delete elements in folder Recent elements Gudmund Liebach Nielsen Vista General 1 05-05-2008 07:17 PM
Elements 6 No Cd Rom BPALMER Drivers 3 01-01-2008 07:19 PM
Support for Adobe photoshop elements 5 or premier elements 3 on Vista 64 bits Sébastien DELAYRE Vista General 5 03-26-2007 09:57 AM
Creating elements in XML using powershell char1iecha1k PowerShell 3 12-12-2006 12:56 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51